Last active
December 26, 2015 09:09
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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