diff options
author | Ryan Kavanagh <ryanakca@kubuntu.org> | 2011-08-23 15:08:17 -0400 |
---|---|---|
committer | Ryan Kavanagh <ryanakca@kubuntu.org> | 2011-08-25 07:43:14 -0400 |
commit | 70b63e82be6fd2ce59d992a4eab530fa410d61fd (patch) | |
tree | fd856bcfef257d2dd331549d1756b03a96fe26ce | |
parent | Added .sbuildrc (diff) |
Clear screen on logout
Diffstat (limited to '')
-rw-r--r-- | .zlogout | 5 | ||||
-rwxr-xr-x | dm | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.zlogout b/.zlogout new file mode 100644 index 0000000..667b44e --- /dev/null +++ b/.zlogout @@ -0,0 +1,5 @@ +# when leaving the console clear the screen to increase privacy + +if [ "$SHLVL" = 1 ]; then + [ -x /usr/bin/clear ] && /usr/bin/clear -q +fi @@ -46,7 +46,7 @@ GLOBAL_FILES = \ .xmobarrc \ .xmonad/ \ .zsh/ \ - .zsh_logout \ + .zlogout \ bin/ \ get-val = $(shell awk '{if (match($$0, /$1/)) { print $$2 } }' $(SUBSTS_FILE)) |