add zsh-history-substring-search zmodule

This commit is contained in:
Mark Riedesel 2024-10-08 08:32:11 -05:00
parent a9aadb5864
commit 94efda6be3
2 changed files with 3 additions and 0 deletions

View file

@ -7,3 +7,4 @@ zmodule zsh-users/zsh-autosuggestions
zmodule ssh zmodule ssh
zmodule utility zmodule utility
zmodule pacman zmodule pacman
zmodule zsh-users/zsh-history-substring-search

View file

@ -12,11 +12,13 @@ setopt numericglobsort # Sort filenames numerically when it makes sense
setopt nobeep # No beep setopt nobeep # No beep
setopt appendhistory # Immediately append history instead of overwriting setopt appendhistory # Immediately append history instead of overwriting
setopt histignorealldups # If a new command is a duplicate, remove the older one setopt histignorealldups # If a new command is a duplicate, remove the older one
setopt histsavenodups # Save no duplicates
setopt autocd # If only directory path is entered, cd there. setopt autocd # If only directory path is entered, cd there.
setopt inc_append_history # Save commands are added to the history immediately, otherwise only when shell exits. setopt inc_append_history # Save commands are added to the history immediately, otherwise only when shell exits.
setopt histignorespace # Don't save commands that start with space setopt histignorespace # Don't save commands that start with space
setopt extended_history # Include extra info about executed commands setopt extended_history # Include extra info about executed commands
setopt hist_reduce_blanks # Reduce blanks from commands in history setopt hist_reduce_blanks # Reduce blanks from commands in history
alias history="fc -l 1"
zstyle ':completion:*' rehash true # Automatically find new executables in path zstyle ':completion:*' rehash true # Automatically find new executables in path
zstyle ':completion:*' accept-exact '*(N)' zstyle ':completion:*' accept-exact '*(N)'