aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_logout
blob: 0c9af8c138399992edbc3f7fb1709fa4659b6162 (plain) (blame)
1
2
3
4
5
# Clear console if possible when logging out
if ((SHLVL == 1)); then
    clear_console -q 2>/dev/null
fi