From 6bab284a10a2c24758c7e9664678b1a493610a18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariusz=20Smyku=C5=82a?= Date: Thu, 30 May 2013 23:24:58 +0200 Subject: [PATCH] Proper support for external __GIT_PROMPT_DIR --- gitprompt.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitprompt.fish b/gitprompt.fish index 3d60d02..b55a272 100644 --- a/gitprompt.fish +++ b/gitprompt.fish @@ -1,5 +1,5 @@ -if set -q $__GIT_PROMPT_DIR - set __GIT_PROMPT_DIR ~/.bash +if not set -q __GIT_PROMPT_DIR + set __GIT_PROMPT_DIR ~/.bash end # Colors