aboutsummaryrefslogtreecommitdiffstats
path: root/nichijou/home/config/zsh/zlogout
blob: 83361fdf19f84ddf67ae02fde6cd42497348a5b1 (plain) (blame)
1
2
3
4
5
6
7
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