powerline-shell
powerline-shell copied to clipboard
right side prompt
created a working left/right prompt on fish, should work for any shell (like zsh). This is my opening conversation on the topic and I'm looking for feed back. Usage is as such (for fish):
function fish_prompt powerline-shell --shell bare $status end
function fish_right_prompt -d "Write out the right prompt" powerline-shell --shell bare --side right $status end
Configuration is a bit different: { "left": { "segments": ["cwd"], "cwd":{"max_dir_size": 1, "full_cwd":"True"}, }, "right":{"segments": ["exit_code"]} }