[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 # Allow for command substitution in PS1 to have a common prompt with bash
setopt promptsubst setopt promptsubst
# Append to history to avoid losing commands when multiple shells are open # Append incrementally to the history and reload it whenever used
setopt appendhistory setopt share_history
# Show an error when a globbing expansion doesn't find any match # Show an error when a globbing expansion doesn't find any match
setopt nomatch setopt nomatch
# List on ambiguous completion and Insert first match immediately # List on ambiguous completion and Insert first match immediately