mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Add plugin for hstr
This commit is contained in:
parent
8a93c89bda
commit
4098577128
2 changed files with 9 additions and 0 deletions
5
plugins/hstr/README.md
Normal file
5
plugins/hstr/README.md
Normal 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.
|
4
plugins/hstr/hstr.plugin.zsh
Normal file
4
plugins/hstr/hstr.plugin.zsh
Normal 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)
|
Loading…
Reference in a new issue