From 70b63e82be6fd2ce59d992a4eab530fa410d61fd Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Tue, 23 Aug 2011 15:08:17 -0400 Subject: Clear screen on logout --- .zlogout | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .zlogout (limited to '.zlogout') diff --git a/.zlogout b/.zlogout new file mode 100644 index 0000000..667b44e --- /dev/null +++ b/.zlogout @@ -0,0 +1,5 @@ +# when leaving the console clear the screen to increase privacy + +if [ "$SHLVL" = 1 ]; then + [ -x /usr/bin/clear ] && /usr/bin/clear -q +fi -- cgit v1.2.3