aboutsummaryrefslogtreecommitdiffstats
path: root/_zlogout
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-01-27 16:19:01 +0800
committerAaron LI <aaronly.me@gmail.com>2016-01-27 16:19:01 +0800
commitb909155dbb93605a3b0870635228f0662d628505 (patch)
tree0a69d66befe201a4a7316fa2fc6b2d7898be6c4f /_zlogout
parentae3aa8ecfa10c6e1b044067e9751d9454d8544df (diff)
downloaddotfiles-b909155dbb93605a3b0870635228f0662d628505.tar.bz2
Update ZSH configuration.
* `_zlogout`: also check `clear` * `_zshrc.local`: remove PATH and locale settings (already in `.profile`)
Diffstat (limited to '_zlogout')
-rw-r--r--_zlogout4
1 files changed, 3 insertions, 1 deletions
diff --git a/_zlogout b/_zlogout
index d6f7e3a..1db6ba0 100644
--- a/_zlogout
+++ b/_zlogout
@@ -4,7 +4,9 @@
#
# clear console
-if which tput >/dev/null 2>&1; then
+if which clear >/dev/null 2>&1; then
+ clear
+elif which tput >/dev/null 2>&1; then
tput clear
fi