]> git.phdru.name Git - dotfiles.git/blobdiff - .profile
.profile: HISTIGNORE mistakes
[dotfiles.git] / .profile
index 7952c54a01025004e00b419df7f5a0ecebc57114..338ceb16b293a65073397a1fd17c9fe5377a94b9 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