Skip to content

Instantly share code, notes, and snippets.

@technic
Created December 8, 2017 20:46
Show Gist options
  • Save technic/408f3600b88e3d88b45ec3d66d9fe64a to your computer and use it in GitHub Desktop.
Save technic/408f3600b88e3d88b45ec3d66d9fe64a to your computer and use it in GitHub Desktop.
bash_logout
# ~/.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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment