diff --git a/shell/git_prompt_info b/shell/git_prompt_info index d871d80..9187c1c 100644 --- a/shell/git_prompt_info +++ b/shell/git_prompt_info @@ -44,7 +44,7 @@ __git_ps1_branch() { local branch branch="$(git symbolic-ref HEAD 2>/dev/null)" || \ branch="$(__git_ps1_describe)" || \ - branch="$(git rev-parse --short HEAD)…" || \ + branch="$(git rev-parse --short HEAD)" || \ branch="unknown" echo ${branch##refs/heads/}