X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Flogout;h=8564cdb8c05d3272760a7caebd98a198fb81a830;hb=a66f040ebf67a9daf18ff7e761de8e306156a783;hp=e8bb4f1949a6cb2f892bc930b6221c8064ebdd01;hpb=3e0077f06bf1930070a98562a0594e739760179d;p=config%2Fdotfiles.git diff --git a/zsh/logout b/zsh/logout index e8bb4f1..8564cdb 100644 --- a/zsh/logout +++ b/zsh/logout @@ -1,8 +1,11 @@ -# 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 "sourcing ~/.zsh/logout" + +# Load logout file usable by all shells. +source_config ~/.shell "" logout + +source_debug "finished sourcing ~/.zsh/logout" + +# vim: ft=zsh