]> git.phdru.name Git - dotfiles.git/blobdiff - .profile
.mc/menu: Improve `deadbeef` command lines
[dotfiles.git] / .profile
index 7952c54a01025004e00b419df7f5a0ecebc57114..7e6ba5a93a2bdea01778c766baf3638e2fde149d 100644 (file)
--- a/.profile
+++ b/.profile
@@ -130,7 +130,7 @@ if [ -t 0 ] ; then
     export EDITOR FCEDIT VISUAL
 
     HISTCONTROL=ignoreboth
-    HISTIGNORE='&: *:[bf]g:cd: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,9 +146,6 @@ 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
@@ -224,6 +221,8 @@ fi
 #export DISPLAY
 
 if [ -n "$DISPLAY" ]; then
+    PATH=$PATH:/usr/games
+
     # mutt, python and vim
     BACKGROUND=LIGHT
     export BACKGROUND