`git-symbolic-ref` needs to be `git symbolic-ref`
Christopher Sexton authored on 22/09/2009 at 18:48:55... | ... |
@@ -11,7 +11,7 @@ ZSH_THEME_GIT_PROMPT_CLEAN="" |
11 | 11 |
|
12 | 12 |
# get the name of the branch we are on |
13 | 13 |
function git_prompt_info() { |
14 |
- ref=$(git-symbolic-ref HEAD 2> /dev/null) || return |
|
14 |
+ ref=$(git symbolic-ref HEAD 2> /dev/null) || return |
|
15 | 15 |
echo "$ZSH_THEME_GIT_PROMPT_PREFIX${ref#refs/heads/}$(parse_git_dirty)$ZSH_THEME_GIT_PROMPT_SUFFIX" |
16 | 16 |
} |
17 | 17 |
|