From 9f3a4239205b638b8c535220bfec0b1fbca2d620 Mon Sep 17 00:00:00 2001 From: Chris Apple Date: Mon, 2 Aug 2021 09:15:02 -0700 Subject: [PATCH] Fix issue where gitignore cache was not being properly set up fix #161 --- conf.d/forgit.plugin.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.d/forgit.plugin.fish b/conf.d/forgit.plugin.fish index a817958..1129619 100644 --- a/conf.d/forgit.plugin.fish +++ b/conf.d/forgit.plugin.fish @@ -376,7 +376,7 @@ if test -z "$FORGIT_GI_REPO_REMOTE" end if test -z "$FORGIT_GI_REPO_LOCAL" - if test "XDG_CACHE_HOME" + if test -z "XDG_CACHE_HOME" set -g FORGIT_GI_REPO_LOCAL $XDG_CACHE_HOME/forgit/gi/repos/dvcs/gitignore else set -g FORGIT_GI_REPO_LOCAL $HOME/.cache/forgit/gi/repos/dvcs/gitignore