From 29a7de545fb29ede30d7f5ff373e67e03517e7cf Mon Sep 17 00:00:00 2001 From: Ilan Cosman Date: Tue, 13 Apr 2021 21:19:59 -0700 Subject: [PATCH] Fix git item in .git dir --- functions/_tide_item_git.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/_tide_item_git.fish b/functions/_tide_item_git.fish index b19e3cd..526495b 100644 --- a/functions/_tide_item_git.fish +++ b/functions/_tide_item_git.fish @@ -46,7 +46,7 @@ function _tide_item_git test "$upstreamAhead" = 0 && set -e upstreamAhead # Git status/stash - test "$isInsideGitDir" = true && set -l gitSetDirOption "-C $gitDir/.." + test "$isInsideGitDir" = true && set -l gitSetDirOption -C $gitDir/.. set -l gitInfo (git $gitSetDirOption --no-optional-locks status --porcelain) set -l stash (git $gitSetDirOption stash list | count) || set -e stash