zsh: add hstr config

This commit is contained in:
Mathieu Maret 2021-05-30 22:42:08 +02:00
parent b3584b9475
commit 09f42f5233
1 changed files with 6 additions and 0 deletions

6
.zshrc
View File

@ -105,3 +105,9 @@ then
[ "`pwd`" = ~$SUDO_USER ] && cd
fi
# HSTR configuration - add this to ~/.zshrc
alias hh=hstr # hh to be alias for hstr
setopt histignorespace # skip cmds w/ leading space from history
export HSTR_CONFIG=hicolor # get more colors
#bindkey -s "\C-r" "\C-a hstr -- \C-j" # bind hstr to Ctrl-r (for Vi mode check doc)