X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=bash%2Flogout;h=af130c6adbe09e1c97db1b4133b88ea883d67a7a;hb=dd87c200babeaa8006cbe7df050e1477c84a5aba;hp=91f49643118dc0c646116a6e043bb7bca73e2735;hpb=343e9a806466f525f13cad151a7987d2dc872e5d;p=config%2Fdotfiles.git diff --git a/bash/logout b/bash/logout index 91f4964..af130c6 100644 --- a/bash/logout +++ b/bash/logout @@ -1,8 +1,11 @@ -# Bash logout configuration file. +# Bash 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 ~/.bash/logout" + +# Load logout file usable by all shells. +source_config ~/.shell "" logout + +source_debug "finished sourcing ~/.bash/logout" + +# vim: ft=sh