1
0
mirror of https://github.com/skywind3000/z.lua synced 2026-03-14 11:49:48 +00:00

Update Fisher compatibility

更新 fisher 路径
https://github.com/jorgebucaran/fisher/pull/571
This commit is contained in:
Coelacanthus
2020-08-09 13:14:07 +08:00
committed by GitHub
parent aebd18cec4
commit 515da0a3d1

View File

@@ -17,9 +17,9 @@ end
set -x _ZL_DATA "$_ZL_DATA"
set -q XDG_CONFIG_HOME; or set XDG_CONFIG_HOME ~/.config
set -q XDG_DATA_HOME; or set XDG_DATA_HOME ~/.local/share
if functions -q fisher
set _zlua_dir $XDG_CONFIG_HOME/fisher/github.com/skywind3000/z.lua
set _zlua_dir $XDG_DATA_HOME/fisher/github.com/skywind3000/z.lua
else
set _zlua_dir (dirname (status --current-filename))
end