source ~/.iank/err
fi
-t2() {
- echo t2
- popd
- grep sdf sdfd
- echo wtf
-}
-t1() {
- echo t1
- trap
- t2 a b c
-}
+# 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
+# grep sdf sdfd
+# echo wtf
+# }
+# t1() {
+# echo t1
+# t2 a b c
+# }
# * settings