From 63a59d699e30808db2cb6085d64bb1345dcea21e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariusz=20Smyku=C5=82a?= Date: Thu, 30 May 2013 22:26:13 +0200 Subject: [PATCH] Cleanup log --- gitprompt.fish | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gitprompt.fish b/gitprompt.fish index 032e054..d50ffb6 100644 --- a/gitprompt.fish +++ b/gitprompt.fish @@ -48,13 +48,12 @@ function fish_prompt set _GIT_STATUS (python $gitstatus) set __CURRENT_GIT_STATUS $_GIT_STATUS - set GIT_BRANCH $__CURRENT_GIT_STATUS[1] set __CURRENT_GIT_STATUS_PARAM_COUNT (count $__CURRENT_GIT_STATUS) if not test "0" -eq $__CURRENT_GIT_STATUS_PARAM_COUNT + set GIT_BRANCH $__CURRENT_GIT_STATUS[1] set GIT_REMOTE "$__CURRENT_GIT_STATUS[2]" - echo "-$GIT_REMOTE-" if [ "." = "$GIT_REMOTE" ] set -e GIT_REMOTE end