X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;ds=sidebyside;f=brc;h=74cda5b1be142b813c25bae225d682bb271bcc99;hb=2df710615e0dd7243d8a05a8a58a9f8ec810433f;hp=9ee0777cf06f0b78cbcbcf00c615acc06e0e2d41;hpb=929bcfbc41e050d69b48405ac8bb6d03af930d95;p=distro-setup diff --git a/brc b/brc index 9ee0777..74cda5b 100644 --- a/brc +++ b/brc @@ -12,6 +12,12 @@ elif [[ -s ~/.iank/err ]]; then source ~/.iank/err fi +# In t8, it runs clear_console for login shells by default. I don't want +# my console cleared. And linux ttys get cleared without this. +if shopt login_shell >/dev/null && [[ -e ~/.bash_logout ]]; then + rm ~/.bash_logout +fi + # for testing error catching: # t2() { # echo t2