milkbikis/powerline-shell — pull request #150 by nkcfan (2014-07-06 06:37:39+00:00)
Title: Fix zsh root_indicator

The original root_indicator for zsh will always show as '\$' for root or non-root users. Fixed as below. The expected results are:
1. showing '%' for non-root users.
2. showing '#' for root. The easiest way to test is 'su -p'.