From d2063589ae52ca6cda65604b12a91080c7ce3e5f Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 16 Feb 2009 19:32:36 +0100 Subject: [PATCH] Add zsh logout configuration file. --- zsh/logout | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 zsh/logout diff --git a/zsh/logout b/zsh/logout new file mode 100644 index 0000000..e8bb4f1 --- /dev/null +++ b/zsh/logout @@ -0,0 +1,8 @@ +# Zsh configuration file loaded when zsh exits. + + +# When leaving the console clear the screen to increase privacy. Taken from +# Debian default bash files. Thanks. +if [ "$SHLVL" = 1 ]; then + [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q +fi -- 2.45.2