]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - zsh/logout
Use one logout file which is included by bash and zsh.
[config/dotfiles.git] / zsh / logout
index e8bb4f1949a6cb2f892bc930b6221c8064ebdd01..8564cdb8c05d3272760a7caebd98a198fb81a830 100644 (file)
@@ -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