From 030b86eb842d706844d794dd83eafd7822649c2a Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Wed, 3 Jul 2019 18:17:38 +0100 Subject: [PATCH] 10 -> 1 in SHLVL check. --- .bash_logout | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash_logout b/.bash_logout index 44a193f..31efb30 100644 --- a/.bash_logout +++ b/.bash_logout @@ -1,7 +1,7 @@ #!/bin/bash - not strictly necessary, but helps nano with syntax highlighting. # Clear the screen/console on logout. -if (( $SHLVL == 10 )); then +if (( $SHLVL == 1 )); then if [[ -x /usr/bin/clear_console ]]; then /usr/bin/clear_console -q elif [[ -x /usr/bin/clear ]]; then