Compare commits

...

2 Commits

Author SHA1 Message Date
Krzysztof Hajdamowicz 821d75bd98
Merge 4098577128 into 1c34b0e67d 2025-01-31 23:33:23 +00:00
Krzysztof Hajdamowicz 4098577128
Add plugin for hstr 2020-09-14 17:06:37 +02:00
2 changed files with 9 additions and 0 deletions

5
plugins/hstr/README.md Normal file
View File

@ -0,0 +1,5 @@
# hstr plugin
This is a helper plugin for https://github.com/dvorka/hstr
Includes necessary aliases and key bindings for hstr in ZSH.

View File

@ -0,0 +1,4 @@
alias hh=hstr # hh to be alias for hstr
export HISTFILE=~/.zsh_history # ensure history file visibility
export HSTR_CONFIG=hicolor # get more colors
bindkey -s "\C-r" "\eqhstr\n" # bind hstr to Ctrl-r (for Vi mode check doc)