From 7c140afaa7a22dddf8720a0b05cb363cf4f3cdbd Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Mon, 13 Dec 2021 15:07:07 +0300 Subject: [PATCH] Relative path to zshfe.zsh --- vim/.vim/pack/stargrave/start/zshfe/plugin/zshfe.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- 2.44.0