diff options
Diffstat (limited to 'nichijou/home/config/zsh/zlogout')
-rw-r--r-- | nichijou/home/config/zsh/zlogout | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nichijou/home/config/zsh/zlogout b/nichijou/home/config/zsh/zlogout new file mode 100644 index 0000000..83361fd --- /dev/null +++ b/nichijou/home/config/zsh/zlogout @@ -0,0 +1,8 @@ +# ~/.zshlogout: executed by zsh(1) when login shell exits. + +# when leaving the console clear the screen to increase privacy +if [ "$SHLVL" = 1 ]; then + # XXX: Avoid hard-coding the path? + # [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q + hash clear_console && clear_console -q +fi |