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