Skip to content

Conversation

jceaser
Copy link
Contributor

@jceaser jceaser commented Jul 2, 2019

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"]}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant