diff options
Diffstat (limited to '')
-rw-r--r-- | .zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc index 06270b05..a16ceeca 100644 --- a/.zshrc +++ b/.zshrc @@ -29,7 +29,7 @@ _prompt_git_branch() { read head < .git/HEAD case "$head" in ref:*) - echo ":${head##*/}" + echo ":${head#*/*/}" ;; *) echo ":${head:0:7}" |