From 55549160b6c25ebcb7d79e9b6af781b47cd8e229 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Fri, 26 Sep 2008 23:53:11 +0200 Subject: Bash Add a bashrc/logout/profile Signed-off-by: Joerg Jaspert --- .bash_logout | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .bash_logout (limited to '.bash_logout') diff --git a/.bash_logout b/.bash_logout new file mode 100644 index 0000000..de4f5f7 --- /dev/null +++ b/.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 -- cgit v1.2.3