Mercurial > index.cgi > dotfiles
changeset 220:1be7d2e2b2a1
.hgrc for chromebook VMs, and adopt their .bash_logout
author | Steve Huston <huston@srhuston.net> |
---|---|
date | Tue, 06 Apr 2021 18:51:42 -0400 |
parents | 2856293f6253 |
children | 27be25dad753 |
files | .bash_logout .hgrc.d/penguin.rc |
diffstat | 2 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/.bash_logout Tue Apr 06 10:43:02 2021 -0400 +++ b/.bash_logout Tue Apr 06 18:51:42 2021 -0400 @@ -1,3 +1,7 @@ -#if [ "$SSH_AGENT_PID" -a "$SHLVL" = "1" ] ; then -# eval `/usr/bin/ssh-agent -k` -#fi +# ~/.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