X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.profile;h=20ba5a1aef033a63a6051670938bfb7a3e5a7f16;hp=6d9cfb42df83af99627b456e71bd9c4f154cbb58;hb=HEAD;hpb=a44bb87a3a97d8154f406b68ab7f41775e45efb5 diff --git a/.profile b/.profile index 6d9cfb4..45b4a56 100644 --- a/.profile +++ b/.profile @@ -130,7 +130,7 @@ if [ -t 0 ] ; then export EDITOR FCEDIT VISUAL HISTCONTROL=ignoreboth - HISTIGNORE='&: *:[bf]g:clear:e:exit:logout:l:ls:ll:llp:mc:w:X:x' + 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 @@ -146,6 +146,9 @@ if [ -t 0 ] ; then MAILPATH="$MAILPATH:`echo $HOME/mail/lists/* | sed 's/ /:/g'`" fi export MAIL MAILPATH + if [ -n "$STY" -a "$WINDOW" != 0 ]; then + unset MAILCHECK + fi BROWSER="links2:links:elinks:w3m:lynx" case "$TERM" in @@ -203,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" @@ -221,6 +217,8 @@ fi #export DISPLAY if [ -n "$DISPLAY" ]; then + PATH=$PATH:/usr/games + # mutt, python and vim BACKGROUND=LIGHT export BACKGROUND