bash-powerline
bash-powerline copied to clipboard
Branch not showing on system with older versions of git
On my centos 6.9 machine, git symbolic-ref doesn't have the --short option. One way to accommodate for older git versions is $($git_eng rev-parse --abbrev-ref 2>/dev/null)
. Or i could have just updated git ;)
What version of git are you using? There's a PR #6 but I couldn't reproduce it. Maybe because my git is too new?