Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

right side prompt #466

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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