summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2009-05-15 13:46:10 +0200
committerHugues Hiegel <hugues@hiegel.fr>2009-05-15 13:46:10 +0200
commit0a87de713a7d78741345e54dbde3588671263c9a (patch)
tree4014c767e6c4b4520c0071f8a5506d3d159514d0
parent1dbe5a298f427dde549e073303be869246171d06 (diff)
[Funcs] grrr, just missed up an error redirection..
-rw-r--r--01_Functions.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/01_Functions.zsh b/01_Functions.zsh
index e24933e..330ea73 100644
--- a/01_Functions.zsh
+++ b/01_Functions.zsh
@@ -80,7 +80,7 @@ get_git_branch ()
return
fi
- [ "$( git-ls-files . 2>&- | head -n1)" == "" -a \( ! -d .git -o "$(git-rev-parse --git-dir)" != ".git" \) -a "$(git-rev-parse --is-inside-git-dir 2>&-)" != "true" ] && return
+ [ "$( git-ls-files . 2>&- | head -n1)" == "" -a \( ! -d .git -o "$(git-rev-parse --git-dir 2>&-)" != ".git" \) -a "$(git-rev-parse --is-inside-git-dir 2>&-)" != "true" ] && return
GIT_DIR=$(git-rev-parse --git-dir)