X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Flogout;h=a540ec8f3167f31052f39515aded7fe7ffd6d6d9;hb=8e71f6b905ec7ef2105d59a949d784a64ce9a574;hp=e8bb4f1949a6cb2f892bc930b6221c8064ebdd01;hpb=d2063589ae52ca6cda65604b12a91080c7ce3e5f;p=config%2Fdotfiles.git diff --git a/zsh/logout b/zsh/logout index e8bb4f1..a540ec8 100644 --- a/zsh/logout +++ b/zsh/logout @@ -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 . -# 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