From 343e9a806466f525f13cad151a7987d2dc872e5d Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 16 Feb 2009 19:27:57 +0100 Subject: [PATCH] Add bash login and logout configuration files. --- bash/logout | 8 ++++++++ bash/profile | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 bash/logout create mode 100644 bash/profile 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 -- 2.44.1