summaryrefslogtreecommitdiff
path: root/.config/bash
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-02-07 00:26:11 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-02-07 00:26:11 -0500
commit865a768e44624c465e9d42c6ca91d0ef29a8e7ad (patch)
treeb7e960b53a230cd1f9840493a594e1c78c95e290 /.config/bash
parentf5c41d73b4c085691f2c01dd80366d08cb352a01 (diff)
backport changes from cs-purdue
Diffstat (limited to '.config/bash')
-rw-r--r--.config/bash/logout.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/.config/bash/logout.sh b/.config/bash/logout.sh
index de4f5f7..5dd8f7d 100644
--- a/.config/bash/logout.sh
+++ b/.config/bash/logout.sh
@@ -1,7 +1,4 @@
-# ~/.bash_logout: executed by bash(1) when login shell exits.
+# ~/.bash_logout: sourced 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
+# Clear the screen for privacy's sake.
+clear