Created
July 17, 2016 01:01
-
-
Save adlerweb/14f7543479645483b01e679d7ca307b7 to your computer and use it in GitHub Desktop.
powerline config
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
# Powerline | |
if [ -f `which powerline-daemon` ]; then | |
powerline-daemon -q | |
POWERLINE_BASH_CONTINUATION=1 | |
POWERLINE_BASH_SELECT=1 | |
. /usr/lib/python3.5/site-packages/powerline/bindings/bash/powerline.sh | |
fi |
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
{ | |
"segments": { | |
"left": [ | |
{ | |
"function": "powerline.segments.shell.mode" | |
}, | |
{ | |
"function": "powerline.segments.common.net.hostname", | |
"priority": 10 | |
}, | |
{ | |
"function": "powerline.segments.common.env.user", | |
"priority": 30 | |
}, | |
{ | |
"function": "powerline.segments.common.env.virtualenv", | |
"priority": 50 | |
}, | |
{ | |
"function": "powerline.segments.shell.last_pipe_status", | |
"priority": 10 | |
}, | |
{ | |
"function": "powerline.segments.shell.cwd", | |
"priority": 10 | |
}, | |
{ | |
"function": "powerline.segments.shell.jobnum", | |
"priority": 20 | |
}, | |
{ | |
"function": "powerline_gitstatus.gitstatus", | |
"priority": 40 | |
} | |
], | |
"right": [ | |
{ | |
"function": "powerline.segments.shell.last_pipe_status", | |
"priority": 10 | |
}, | |
{ | |
"function": "powerline.segments.common.vcs.branch", | |
"priority": 40 | |
} | |
] | |
} | |
} |
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
set -g default-terminal "screen-256color" | |
powerline-config tmux setup |
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
let $PYTHONPATH='/usr/lib/python3.5/site-packages' | |
set rtp+=/usr/lib/python3.5/site-packages/powerline/bindings/vim/ | |
set laststatus=2 | |
set t_Co=256 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment