]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/pack/stargrave/start/zshfe/plugin/zshfe.vim
Relative path to zshfe.zsh
[dotfiles.git] / vim / .vim / pack / stargrave / start / zshfe / plugin / zshfe.vim
index af3540bb7b6377acdb1d92fc978f2ae00bd68e72..d85d531e07fb230ade35bc5a07d46d6613ee4fee 100644 (file)
@@ -3,7 +3,9 @@
 " License: GNU General Public License version 3 of the License or later
 
 if exists("*<SID>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("<sfile>:p:h") . "/zshfe.zsh"
+endif
 
 function! s:zshfe(query, opencmd)
     silent let result = systemlist(g:zshfe_path . " " . a:query)