From: Oleg Broytman Date: Wed, 21 Dec 2022 10:18:59 +0000 (+0300) Subject: .profile: HISTIGNORE mistakes X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=9dcfbcda4191068f984c4ae53ceb8d50bec5468e;p=dotfiles.git .profile: HISTIGNORE mistakes `~?` must be `!?`. `,c` and `ьс` (in the terminal's encoding) must be `mc`. --- diff --git a/.profile b/.profile index 7952c54..338ceb1 100644 --- 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