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