zsh: Share history between terminals
This commit is contained in:
parent
f1da7f4c78
commit
e5db426f68
1 changed files with 4 additions and 0 deletions
4
.zshrc
4
.zshrc
|
@ -49,6 +49,10 @@ source $ZSH/oh-my-zsh.sh
|
||||||
export TERM=xterm-256color
|
export TERM=xterm-256color
|
||||||
[ -n "$TMUX" ] && export TERM=screen-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
|
setopt completealiases
|
||||||
|
|
||||||
prompt_context(){}
|
prompt_context(){}
|
||||||
|
|
Loading…
Add table
Reference in a new issue