summaryrefslogtreecommitdiff
path: root/.config/bash/logout.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-02-07 00:26:47 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-02-07 00:26:47 -0500
commitf9232bbdeeb4000d7b89b8a59d591b787266c24b (patch)
treeafccaafb5e4f4dc6dee1da9fba7c666c0273c8c9 /.config/bash/logout.sh
parent34bb88f2d5231922015ea24abb2f43223792c1c9 (diff)
parent865a768e44624c465e9d42c6ca91d0ef29a8e7ad (diff)
Merge branch 'master' into build64-par/master
Diffstat (limited to '.config/bash/logout.sh')
-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