view .bash_logout @ 266:33541d73d6d7

RHEL8 at least has different syntax for which, this should allow both to work without incident
author Steve Huston <huston@princeton.edu>
date Wed, 24 Apr 2024 16:53:52 -0400
parents 1be7d2e2b2a1
children
line wrap: on
line source

# ~/.bash_logout: executed by bash(1) when login shell exits.

# when leaving the console clear the screen to increase privacy

if [ "$SHLVL" = 1 ]; then
    [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
fi