At least on Bash, 'above' doesn't appear to do anything. My shell theme is:
{
"default_module": "powerline.segments.common",
"segments": {
"above": [
{
"left": [
{
"function": "powerline.segments.shell.mode",
"priority": 10
},
{
"function": "powerline.segments.common.net.hostname",
"args": {
"only_if_ssh": true,
"exclude_domain": true
},
"priority": 10
},
{
"function": "powerline.segments.common.env.user",
"priority": 30
},
{
"function": "powerline.segments.shell.cwd",
"args": {
"dir_shorten_len": 3,
"dir_limit_depth": 3,
"use_path_separator": true
},
"priority": 20
},
{
"function": "powerline_gitstatus.gitstatus",
"priority": 40
}
]
}
]
}
}
The superuser coloring doesn't appear to work, and I just tested with no local config installed (I moved ~/.config/powerline out of the way).
As for the terminal $ or #, yeah, I know it's not there, I was rather hoping that I could find a way to add it. We end out with some pretty long branch names here and it would be nice to avoid truncating them. I guess the alternative would be to trim them too.
Guy