From ea5ec5fdc17d6238758f15d7ff35824b5b601d9b Mon Sep 17 00:00:00 2001 From: Derrick Petzold Date: Wed, 29 Jun 2016 15:17:47 -0700 Subject: [PATCH] Fix redirection. I think we just want to redirect stderr here like L48. --- zshrc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshrc.sh b/zshrc.sh index d4010c1e..d3909482 100644 --- a/zshrc.sh +++ b/zshrc.sh @@ -48,7 +48,7 @@ function update_current_git_vars() { _GIT_STATUS=`python ${gitstatus} 2>/dev/null` fi if [[ "$GIT_PROMPT_EXECUTABLE" == "haskell" ]]; then - _GIT_STATUS=`git status --porcelain --branch &> /dev/null | $__GIT_PROMPT_DIR/src/.bin/gitstatus` + _GIT_STATUS=`git status --porcelain --branch 2> /dev/null | $__GIT_PROMPT_DIR/src/.bin/gitstatus` fi __CURRENT_GIT_STATUS=("${(@s: :)_GIT_STATUS}") GIT_BRANCH=$__CURRENT_GIT_STATUS[1]