diff --git a/lib/history.zsh b/lib/history.zsh
index 1f0f3cc2..79407690 100644
--- a/lib/history.zsh
+++ b/lib/history.zsh
@@ -37,3 +37,4 @@ setopt hist_expire_dups_first # delete duplicates first when HISTFILE size excee
 setopt hist_ignore_dups       # ignore duplicated commands history list
 setopt hist_ignore_space      # ignore commands that start with space
 setopt hist_verify            # show command with history expansion to user before running it
+setopt share_history          # share command history data