From 09f42f5233f57a3cdacbc5e6e17a2b69a138909c Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Sun, 30 May 2021 22:42:08 +0200 Subject: [PATCH] zsh: add hstr config --- .zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.zshrc b/.zshrc index cb0b1ac..78c3746 100644 --- a/.zshrc +++ b/.zshrc @@ -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)