shione/nichijou/home/config/zsh/zlogout

9 lines
291 B
Text
Raw Permalink Normal View History

2022-09-07 10:25:36 -04:00
# ~/.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