Commit 9f0df188 authored by Christopher Sexton's avatar Christopher Sexton
Browse files

Git 1.6 support

`git-symbolic-ref` needs to be `git symbolic-ref`
parent a9f21b38
...@@ -11,7 +11,7 @@ ZSH_THEME_GIT_PROMPT_CLEAN="" ...@@ -11,7 +11,7 @@ ZSH_THEME_GIT_PROMPT_CLEAN=""
# get the name of the branch we are on # get the name of the branch we are on
function git_prompt_info() { function git_prompt_info() {
ref=$(git-symbolic-ref HEAD 2> /dev/null) || return ref=$(git symbolic-ref HEAD 2> /dev/null) || return
echo "$ZSH_THEME_GIT_PROMPT_PREFIX${ref#refs/heads/}$(parse_git_dirty)$ZSH_THEME_GIT_PROMPT_SUFFIX" echo "$ZSH_THEME_GIT_PROMPT_PREFIX${ref#refs/heads/}$(parse_git_dirty)$ZSH_THEME_GIT_PROMPT_SUFFIX"
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment