summaryrefslogtreecommitdiff
path: root/.config/bash/logout.sh
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2015-02-06 15:58:25 -0500
committerLuke Shumaker <shumakl@purdue.edu>2015-02-06 15:58:25 -0500
commitb8b427b09f81755e9fe7d25223efa06881f126c3 (patch)
treea37a5d94adf253f5f25f7710dadc2cf639b32031 /.config/bash/logout.sh
parentdab097d5000c4697761b6985cb3512f7bce0147f (diff)
fix, kinda
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