aboutsummaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 3ab08d5..aee4c54 100644
--- a/.zshrc
+++ b/.zshrc
@@ -104,7 +104,7 @@ function precmd() # {{{
fi
# Get the branch name
- GITBRANCH=$(git rev-parse --abbrev-ref @)
+ GITBRANCH=$(git rev-parse --abbrev-ref HEAD)
if [ "$GITBRANCH" = "HEAD" ]
then