zsh: Share history between terminals

This commit is contained in:
histalek 2021-12-16 15:49:35 +01:00
parent f1da7f4c78
commit e5db426f68
No known key found for this signature in database
GPG key ID: ED1D6449704FDE03

4
.zshrc
View file

@ -49,6 +49,10 @@ source $ZSH/oh-my-zsh.sh
export TERM=xterm-256color
[ -n "$TMUX" ] && export TERM=screen-256color
# share history between terminals in zsh
# https://askubuntu.com/questions/23630/how-do-you-share-history-between-terminals-in-zsh
setopt inc_append_history
setopt completealiases
prompt_context(){}