aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 11d8757..54c0aa0 100644
--- a/.bashrc
+++ b/.bashrc
@@ -86,7 +86,7 @@ __precmd()
fi
# Get the branch name
- local git_branch_name=$(git rev-parse --abbrev-ref @)
+ local git_branch_name=$(git rev-parse --abbrev-ref HEAD)
if [[ "$git_branch_name" == "HEAD" ]]
then