shione/nichijou/home/config/zsh/zlogout
2022-09-07 16:28:45 +02:00

8 lines
291 B
Bash

# ~/.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