]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - shell/logout
491f594a589bd3eaa263803d5f96662aec31c33f
[config/dotfiles.git] / shell / logout
1 # Shell logout file usable by all shells.
2
3
4 # When leaving the console clear the screen to increase privacy. Taken from
5 # Debian default bash files and modified. Thanks.
6
7 if [ -x /usr/bin/clear_console ]; then
8     /usr/bin/clear_console -q
9 else
10     clear
11 fi
12
13 # Make sure sudo rights are removed.
14 sudo -k > /dev/null 2>&1
15
16 # vim: ft=sh