]> git.phdru.name Git - dotfiles.git/blobdiff - .profile
.vim: Add `ftplugin/sshconfig.vim`
[dotfiles.git] / .profile
index 6d9cfb42df83af99627b456e71bd9c4f154cbb58..7952c54a01025004e00b419df7f5a0ecebc57114 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='&: *:[bf]g:cd:clear:e:exit:logout:l:ls:ll:llp:mc:w:X:x'
     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