X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.profile;h=20ba5a1aef033a63a6051670938bfb7a3e5a7f16;hp=6ede301d41a3bc8bb16c0358ba7daf6c145ea702;hb=HEAD;hpb=ad40a489bb055d06200a47b11c933f9d27f7adfe diff --git a/.profile b/.profile index 6ede301..45b4a56 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="`echo '&: *:~\?*:[bf]g:cd:clear:e:exit:logout:l:ls:ll:llp:[m,]c:ØÓ:w:X:x' | iconv -f koi8-r`" HISTFILE="$HOME/.sh_history" HISTFILESIZE=2000 HISTSIZE=1000 @@ -142,21 +142,13 @@ 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 + if [ -n "$STY" -a "$WINDOW" != 0 ]; then unset MAILCHECK - else - unset SET_MAILCHECK fi - unset mbox BROWSER="links2:links:elinks:w3m:lynx" case "$TERM" in @@ -172,7 +164,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 @@ -214,13 +206,6 @@ if [ -t 0 ] ; then unset name email - #if which pyenv >/dev/null 2>&1; then - # PYENV_ROOT="$HOME/.pyenv" - # export PYENV_ROOT - # PATH="$PYENV_ROOT/bin:$PATH" - # eval "`pyenv init --path`" - #fi - #SCREENDIR="$HOME"/tmp/screen #export SCREENDIR #mkdir -p "$SCREENDIR" @@ -232,6 +217,8 @@ fi #export DISPLAY if [ -n "$DISPLAY" ]; then + PATH=$PATH:/usr/games + # mutt, python and vim BACKGROUND=LIGHT export BACKGROUND