% default zsh prompt mark #46

Closed
alexprengere opened this Issue Aug 16, 2012 · 3 comments

3 participants

@alexprengere

This is not a bug, more a "theme" comment. With Zsh, the "usual" prompt mark is "%" rather than "$".
This could be done by replacing

if [[ "$_LP_WORKING_SHELL" == "zsh" ]]; then
    mark="%(!.#.$)"
fi

With

if [[ "$_LP_WORKING_SHELL" == "zsh" ]]; then
    mark="%(!.#.%%)"
fi
@nojhan
Owner

To attribute this patch to you, I need either your email address, either a pull request.

@alexprengere

pull request it is ;-)

@nojhan
Owner

Fixed in 34c8d90

@nojhan nojhan closed this Aug 16, 2012
@dolmen dolmen added zsh bug labels Dec 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment