]> git.phdru.name Git - dotfiles.git/blobdiff - .profile
Feat(recode-filenames-recursive): Allow to omit parameters
[dotfiles.git] / .profile
index 6d9cfb42df83af99627b456e71bd9c4f154cbb58..45b4a5686487f2e0558fbdc18e5db1ad525e728c 100644 (file)
--- 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