Skip to content

Instantly share code, notes, and snippets.

@edjames
Created February 16, 2018 11:13
Show Gist options
  • Save edjames/ff80ccbaafd0b51cb2e1f19ed349ba5e to your computer and use it in GitHub Desktop.
Save edjames/ff80ccbaafd0b51cb2e1f19ed349ba5e to your computer and use it in GitHub Desktop.
Digital Ocean .bash_logout
# ~/.bash_logout
# 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