I use the 'doubleend' theme. After updating my osx machine to mavericks, some of the features of the theme stopped working. The battery indicator doesn't seem to be working anymore. here's a snapshot
Solved! Although am yet to get my battery-power indicator that works for me for now. Anyone having this problem just edit the git_prompt_info
function in the doubleend theme file: here's the one that solves it:
function git_prompt_info() {
ref=$(git symbolic-ref HEAD 2> /dev/null) || return
echo "$(parse_git_dirty)$ZSH_THEME_GIT_PROMPT_PREFIX${ref#refs/heads/}$ZSH_THEME_GIT_PROMPT_SUFFIX"
}
@pauldd91 thanks, this helped me out
@pauldd91 Almost one year later and this just helped me out too :+1:
Most helpful comment
Solved! Although am yet to get my battery-power indicator that works for me for now. Anyone having this problem just edit the
git_prompt_info
function in the doubleend theme file: here's the one that solves it: