This commit is contained in:
Krzysztof Hajdamowicz 2025-02-20 06:15:58 +01:00 committed by GitHub
commit c76fc7b90d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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)