various fixes
[distro-setup] / brc
diff --git a/brc b/brc
index 5fb46ac450959aa36d96908568d25e7fa5c7b104..1d6e833471c67ee4eb472a2f24957d215504aeb3 100644 (file)
--- a/brc
+++ b/brc
@@ -652,7 +652,10 @@ envload() { # load environment from a previous: export > file
 
 # mail related
 etail() {
-  sudo tail -F /var/log/exim4/mainlog -n 50
+  tail -F /var/log/exim4/mainlog -n 200
+}
+eless() {
+  less /var/log/exim4/mainlog
 }
 
 f() {
@@ -1441,7 +1444,7 @@ q() { # start / launch a program in the backround and redir output to null
 }
 
 r() {
-  histappend -a
+  history -a # save history
   exit "$@"
   # i had this redir, not sure why
 #  exit "$@" 2>/dev/null