diff options
author | Starfall <us@starfall.systems> | 2022-04-26 11:11:00 -0500 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2022-04-26 11:11:00 -0500 |
commit | e3ed0f1d893b8e4f31f55b2cebaa19e3d90a5887 (patch) | |
tree | 5f3b29c12ffd8218c2ed44b5605fb921e6634c71 | |
parent | 420b1dd932802431426de1ff7787b41a010207df (diff) |
zsh: add history search alias
-rw-r--r-- | .config/zsh/history.zsh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/zsh/history.zsh b/.config/zsh/history.zsh index 702cfae..eb04ef9 100644 --- a/.config/zsh/history.zsh +++ b/.config/zsh/history.zsh @@ -9,3 +9,5 @@ setopt hist_ignore_dups # deduplicate commands run twice in a row setopt hist_ignore_all_dups # deduplicate entire history file setopt hist_verify # confirm before executing setopt share_history # import all of history in new sessions + +alias h='fc -l 0 | grep' # search all of history |