]> git.phdru.name Git - dotfiles.git/commitdiff
.profile: HISTIGNORE `cd`
authorOleg Broytman <phd@phdru.name>
Sun, 9 Oct 2022 18:30:44 +0000 (21:30 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 9 Oct 2022 18:30:44 +0000 (21:30 +0300)
.profile

index 6d9cfb42df83af99627b456e71bd9c4f154cbb58..0cfbf8e188c5b4ed0a601744c4c5a6368ef0f207 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