aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugin/history-sync.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/history-sync.vim b/plugin/history-sync.vim
index 3f32333..4a9bf37 100644
--- a/plugin/history-sync.vim
+++ b/plugin/history-sync.vim
@@ -1,3 +1,8 @@
+if exists('g:loaded_history_sync') || &cp
+ finish
+endif
+let g:loaded_history_sync = 1
+
if $SHELL !~# 'zsh' || !exists('g:_zsh_hist_fname')
finish
endif