Difference between revisions of "Hstr --show-configuration"

From wikieduonline
Jump to navigation Jump to search
(Created page with " {{hstr}}")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{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)



HSTR

Advertising: