[UPDATE][ZSH] Reload history when searching

This allows for searching commands that were used in other shells that
weren't quit yet.
This commit is contained in:
Bruno BELANYI 2019-12-05 17:03:07 +01:00
parent 3b24152598
commit 6f8d945ed3

View file

@ -10,8 +10,8 @@ SAVEHIST=10000
# Allow for command substitution in PS1 to have a common prompt with bash
setopt promptsubst
# Append to history to avoid losing commands when multiple shells are open
setopt appendhistory
# Append incrementally to the history and reload it whenever used
setopt share_history
# Show an error when a globbing expansion doesn't find any match
setopt nomatch
# List on ambiguous completion and Insert first match immediately