minor fixes
[distro-setup] / brc
diff --git a/brc b/brc
index 9ee0777cf06f0b78cbcbcf00c615acc06e0e2d41..74cda5b1be142b813c25bae225d682bb271bcc99 100644 (file)
--- 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