1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # byebye.zlogout -- Say goodbye to interactive users
4 [[ -o interactive ]] || return
6 # Clear the console if it is a local terminal
8 /dev/tty[0-9]*|/dev/ttyS[0-9]*)
9 [[ -x /usr/bin/clear_console ]] \
10 && /usr/bin/clear_console --quiet \
14 echo "Bye, bye, $LOGNAME!"