X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=dot%2Fbash_logout;fp=dot%2Fbash_logout;h=de4f5f75d7ccd3a5b62bd2ce683ed678a5cb72c2;hb=4e4e713c4f08c2330fb1a6632663d07c5690b5a1;hp=0000000000000000000000000000000000000000;hpb=301b097027d4f4a6ae99782bada75587db5d299b;p=ian-dotfiles.git diff --git a/dot/bash_logout b/dot/bash_logout new file mode 100644 index 0000000..de4f5f7 --- /dev/null +++ b/dot/bash_logout @@ -0,0 +1,7 @@ +# ~/.bash_logout: executed by bash(1) when login shell exits. + +# when leaving the console clear the screen to increase privacy + +if [ "$SHLVL" = 1 ]; then + [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q +fi