]> git.phdru.name Git - dotfiles.git/commitdiff
.profile: Extend `$HISTIGNORE`
authorOleg Broytman <phd@phdru.name>
Thu, 29 Sep 2022 11:32:10 +0000 (14:32 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 2 Oct 2022 13:23:59 +0000 (16:23 +0300)
.profile

index 6ede301d41a3bc8bb16c0358ba7daf6c145ea702..6d9cfb42df83af99627b456e71bd9c4f154cbb58 100644 (file)
--- a/.profile
+++ b/.profile
@@ -130,7 +130,7 @@ if [ -t 0 ] ; then
     export EDITOR FCEDIT VISUAL
 
     HISTCONTROL=ignoreboth
-    HISTIGNORE='&: *:x:X:[bf]g'
+    HISTIGNORE='&: *:[bf]g:clear:e:exit:logout:l:ls:ll:llp:mc:w:X:x'
     HISTFILE="$HOME/.sh_history"
     HISTFILESIZE=2000
     HISTSIZE=1000
@@ -142,21 +142,10 @@ if [ -t 0 ] ; then
 
     MAIL="/var/mail/$USER"
     MAILPATH="$MAIL:$HOME/mail/admin:$HOME/mail/block:$HOME/mail/bulk"
-    for mbox in "$HOME/mail/aviel" "$HOME/mail/stcnet"; do
-        if [ -f "$mbox" ]; then
-            MAILPATH="$mbox:$MAILPATH"
-        fi
-    done
     if [ -d "$HOME"/mail/lists/ ]; then
             MAILPATH="$MAILPATH:`echo $HOME/mail/lists/* | sed 's/ /:/g'`"
     fi
     export MAIL MAILPATH
-    if [ "x$SET_MAILCHECK" != xYES ]; then
-        unset MAILCHECK
-    else
-        unset SET_MAILCHECK
-    fi
-    unset mbox
 
     BROWSER="links2:links:elinks:w3m:lynx"
     case "$TERM" in
@@ -172,7 +161,7 @@ if [ -t 0 ] ; then
     #http_proxy="$all_proxy"
     #https_proxy="$all_proxy"
     auto_proxy="file:///home/phd/admin/WWW/Mozilla/mozilla.pac"
-    no_proxy="localhost,127.0.0.1,192.168.,10.,aviel.ru,progtech.ru"
+    no_proxy="localhost,127.0.0.1"
     #export all_proxy ftp_proxy http_proxy https_proxy auto_proxy no_proxy # gopher_proxy
     export auto_proxy no_proxy