From: Simon Ruderich Date: Mon, 16 Feb 2009 18:27:57 +0000 (+0100) Subject: Add bash login and logout configuration files. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;ds=sidebyside;h=343e9a806466f525f13cad151a7987d2dc872e5d;p=config%2Fdotfiles.git Add bash login and logout configuration files. --- diff --git a/bash/logout b/bash/logout new file mode 100644 index 0000000..91f4964 --- /dev/null +++ b/bash/logout @@ -0,0 +1,8 @@ +# Bash logout configuration file. + + +# 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 diff --git a/bash/profile b/bash/profile new file mode 100644 index 0000000..3c62d60 --- /dev/null +++ b/bash/profile @@ -0,0 +1,5 @@ +# Bash login configuration file. + + +# Load ~/.bashrc. +. ~/.bashrc