mirror of
https://github.com/skywind3000/z.lua
synced 2026-03-15 04:09:49 +00:00
Add Fisher compatibility
This commit is contained in:
@@ -17,7 +17,12 @@ end
|
||||
|
||||
set -x _ZL_DATA "$_ZL_DATA"
|
||||
|
||||
set _zlua_dir (dirname (status --current-filename))
|
||||
set -q XDG_CONFIG_HOME; or set XDG_CONFIG_HOME ~/.config
|
||||
if functions -q fisher
|
||||
set _zlua_dir $XDG_CONFIG_HOME/fisher/github.com/skywind3000/z.lua
|
||||
else
|
||||
set _zlua_dir (dirname (status --current-filename))
|
||||
end
|
||||
|
||||
if test -e $_zlua_dir/z.lua
|
||||
if type -q lua
|
||||
|
||||
Reference in New Issue
Block a user