-function! s:zshfe(query, opencmd)
- silent let result = systemlist(g:zshfe_path . " " . a:query)
- if len(result) == 0 | return | endif
- exec a:opencmd . " " . result[0][:-2]
-endfunction
+if exists("*zshfe#Do") | finish | endif
+if !exists("g:zshfe_path")
+ g:zshfe_path = expand("<sfile>:p:h") .. "/zshfe.zsh"
+endif