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