index
:
dotfiles.git
master
Configuration files for various applications
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
.zlogout
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to '.zlogout')
-rw-r--r--
.zlogout
3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zlogout b/.zlogout
index 92e4350..5b5bf1c 100644
--- a/
.zlogout
+++ b/
.zlogout
@@ -1,3 +1,6 @@
#
# Commands executed by zsh on logout.
#
+if [ $(id -u) == 0 ]; then
+ clear
+fi