]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - bash/logout
Improve source_debug() output.
[config/dotfiles.git] / bash / logout
index 91f49643118dc0c646116a6e043bb7bca73e2735..90cb162216800e265afc5a11fd2b62fab506f762 100644 (file)
@@ -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 ". ~/.bash/logout"
+
+# Load logout file usable by all shells.
+source_config ~/.shell "" logout
+
+source_debug ". ~/.bash/logout (done)"
+
+# vim: ft=sh