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