fix: use $__fish_data_dir if available

This commit is contained in:
Jorge Bucaran 2018-10-08 13:32:57 +09:00
parent 203e9d4d69
commit 2e933cad31
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30

View file

@ -342,7 +342,7 @@ function _fisher_pkg_uninstall -a pkg
command rm -f $fisher_path/$target
end
if not functions -q fish_prompt
source "$__fish_datadir/functions/fish_prompt.fish"
source "$__fish_datadir$__fish_data_dir/functions/fish_prompt.fish"
end
end