diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-03-08 02:53:14 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-03-08 02:53:14 -0500 |
commit | 279aa756157ab818df67e854e953f6e05809b4a3 (patch) | |
tree | 79ad5f6a79b923eb3c13b8411b5cad964cf8f341 /plugin | |
parent | d50dd19f6f93becacf30419695e21200dc210a34 (diff) | |
download | vim-history-sync-279aa756157ab818df67e854e953f6e05809b4a3.tar.gz vim-history-sync-279aa756157ab818df67e854e953f6e05809b4a3.zip |
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/history-sync.vim | 5 |
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 |