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

From wikieduonline
Jump to navigation Jump to search
 
Line 7: Line 7:
 
  # HSTR configuration - add this to ~/.zshrc
 
  # HSTR configuration - add this to ~/.zshrc
 
  alias hh=hstr                    # hh to be alias for hstr
 
  alias hh=hstr                    # hh to be alias for hstr
  setopt histignorespace          # skip cmds w/ leading space from history
+
  [[setopt]] histignorespace          # skip cmds w/ leading space from history
 
  export HSTR_CONFIG=hicolor      # get more colors
 
  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)
 
  [[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: