From a44bb87a3a97d8154f406b68ab7f41775e45efb5 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 29 Sep 2022 14:32:10 +0300 Subject: [PATCH] .profile: Extend `$HISTIGNORE` --- .profile | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.profile b/.profile index 6ede301..6d9cfb4 100644 --- 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 -- 2.39.5