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

From wikieduonline
Jump to navigation Jump to search
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)
  
  

Revision as of 16:54, 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: