]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - zsh/logout
*: License under GPL v3+.
[config/dotfiles.git] / zsh / logout
index e8bb4f1949a6cb2f892bc930b6221c8064ebdd01..a540ec8f3167f31052f39515aded7fe7ffd6d6d9 100644 (file)
@@ -1,8 +1,21 @@
-# Zsh configuration file loaded when zsh exits.
+# Zsh logout file.
 
+# Copyright (C) 2011-2012  Simon Ruderich
+#
+# This file is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This file is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this file.  If not, see <http://www.gnu.org/licenses/>.
 
-# 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_config ~/.shell/logout
+
+# vim: ft=zsh