From 515da0a3d11169ece2eadcecbfe228bb4d3fb9f7 Mon Sep 17 00:00:00 2001 From: Coelacanthus Date: Sun, 9 Aug 2020 13:14:07 +0800 Subject: [PATCH] Update Fisher compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新 fisher 路径 https://github.com/jorgebucaran/fisher/pull/571 --- init.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.fish b/init.fish index 4652e4e..788054b 100644 --- a/init.fish +++ b/init.fish @@ -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