From b909155dbb93605a3b0870635228f0662d628505 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 27 Jan 2016 16:19:01 +0800 Subject: Update ZSH configuration. * `_zlogout`: also check `clear` * `_zshrc.local`: remove PATH and locale settings (already in `.profile`) --- _zlogout | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '_zlogout') 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 -- cgit v1.2.2