From 9dcfbcda4191068f984c4ae53ceb8d50bec5468e Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 21 Dec 2022 13:18:59 +0300 Subject: [PATCH] .profile: HISTIGNORE mistakes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit `~?` must be `!?`. `,c` and `ьс` (in the terminal's encoding) must be `mc`. --- .profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5