summaryrefslogtreecommitdiff
path: root/01_Functions.zsh
diff options
context:
space:
mode:
Diffstat (limited to '01_Functions.zsh')
-rw-r--r--01_Functions.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/01_Functions.zsh b/01_Functions.zsh
index 18cf1c6..1b53f40 100644
--- a/01_Functions.zsh
+++ b/01_Functions.zsh
@@ -72,7 +72,7 @@ get_git_branch ()
# If neither on a named commit-ish, show abbreviated commit-id
[ "$my_git_branch" == "" ] &&\
- my_git_branch="($(git-show --pretty=format:%h 2>&- | head -n1)...)"
+ my_git_branch="($(git-show --pretty=format:%H 2>&- | head -n1))"
fi
echo $my_git_branch