]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - bash/logout
Use one logout file which is included by bash and zsh.
[config/dotfiles.git] / bash / logout
index 91f49643118dc0c646116a6e043bb7bca73e2735..af130c6adbe09e1c97db1b4133b88ea883d67a7a 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 "sourcing ~/.bash/logout"
+
+# Load logout file usable by all shells.
+source_config ~/.shell "" logout
+
+source_debug "finished sourcing ~/.bash/logout"
+
+# vim: ft=sh