Difference between revisions of "Hstr --show-configuration"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | |||
+ | |||
+ | hstr --show-configuration | ||
+ | |||
+ | |||
+ | # 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) | ||
Latest revision as of 16:55, 2 April 2023
hstr --show-configuration # 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)
Advertising: