From 0bd054ffeeb74b37972b8a6b79bdc4f03eb94722 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 21 Mar 2017 09:57:41 +0100 Subject: .zlogout: Using clear, when ending root session. --- .zlogout | 3 +++ 1 file changed, 3 insertions(+) (limited to '.zlogout') 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 -- cgit v1.2.3-70-g09d2