X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=blobdiff_plain;f=vim%2F.vim%2Fpack%2Fstargrave%2Fstart%2Fzshfe%2Fplugin%2Fzshfe.vim;h=d85d531e07fb230ade35bc5a07d46d6613ee4fee;hp=af3540bb7b6377acdb1d92fc978f2ae00bd68e72;hb=7c140afaa7a22dddf8720a0b05cb363cf4f3cdbd;hpb=c571224ad14b80a040c164399e7dede5dd31ebd0 diff --git a/vim/.vim/pack/stargrave/start/zshfe/plugin/zshfe.vim b/vim/.vim/pack/stargrave/start/zshfe/plugin/zshfe.vim index af3540b..d85d531 100644 --- a/vim/.vim/pack/stargrave/start/zshfe/plugin/zshfe.vim +++ b/vim/.vim/pack/stargrave/start/zshfe/plugin/zshfe.vim @@ -3,7 +3,9 @@ " License: GNU General Public License version 3 of the License or later if exists("*zshfe") | finish | endif -if !exists("g:zshfe_path") | let g:zshfe_path=expand("~/.vim/plugin/zshfe.zsh") | endif +if !exists("g:zshfe_path") + let g:zshfe_path=expand(":p:h") . "/zshfe.zsh" +endif function! s:zshfe(query, opencmd) silent let result = systemlist(g:zshfe_path . " " . a:query)