NixOS-Configs/home/common/files/bash/bash_logout
2024-01-06 14:02:54 -06:00

11 lines
259 B
Bash
Executable file

# ~/.bash_logout: executed by bash(1) when login shell exits.
# when leaving the console clear the screen to increase privacy
if [ "$SHLVL" = 1 ]; then
if [ -x /usr/bin/clear_console ]; then
/usr/bin/clear_console -q
else
clear
fi
fi