X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Flogout;h=c360815925db09bd882cdd75edf2cca2f38009b9;hb=9598f48f59d3ad70faac00f5c4c9466d28591a7e;hp=e8bb4f1949a6cb2f892bc930b6221c8064ebdd01;hpb=d2063589ae52ca6cda65604b12a91080c7ce3e5f;p=config%2Fdotfiles.git diff --git a/zsh/logout b/zsh/logout index e8bb4f1..c360815 100644 --- a/zsh/logout +++ b/zsh/logout @@ -1,8 +1,10 @@ -# Zsh configuration file loaded when zsh exits. +# Zsh logout file. -# When leaving the console clear the screen to increase privacy. Taken from -# Debian default bash files. Thanks. -if [ "$SHLVL" = 1 ]; then - [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q -fi +source_debug ". ~/.zsh/logout" + +source_config ~/.shell/logout + +source_debug ". ~/.zsh/logout (done)" + +# vim: ft=zsh