Skip to content

Instantly share code, notes, and snippets.

@agperson
Last active December 26, 2015 09:09
Show Gist options
  • Save agperson/7126995 to your computer and use it in GitHub Desktop.
Save agperson/7126995 to your computer and use it in GitHub Desktop.
My Bash Powerline prompt configuration. Note some special symbols (the virtualenv (e) and the branch |/^ directional) might not come through.
{
"default_module": "powerline.segments.common",
"segment_data": {
"hostname": {
"args": {
"only_if_ssh": false,
"exclude_domain": true
}
},
"virtualenv": {
"before": "ⓔ "
},
"branch": {
"before": " ",
"args": {
"status_colors": true
}
},
"cwd": {
"args": {
"use_path_separator": true,
"dir_limit_depth": 2
}
}
},
"segments": {
"left": [
{
"name": "hostname"
},
{
"name": "cwd"
},
{
"name": "virtualenv"
},
{
"name": "branch"
},
{
"name": "last_status",
"module": "powerline.segments.shell"
},
{
"name": "user",
"before": "\n(",
"after": ")$ ",
"draw_hard_divider": false
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment