1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 14:20:08 +00:00

Add plugin for hstr

This commit is contained in:
Krzysztof Hajdamowicz 2020-09-14 16:57:09 +02:00
parent 8a93c89bda
commit 4098577128
No known key found for this signature in database
GPG key ID: 793273263E28E25A
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)