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

Set PROMPT_SUBST during setup #12

Closed
wants to merge 1 commit into from
Closed

Set PROMPT_SUBST during setup #12

wants to merge 1 commit into from

Conversation

nbraud
Copy link

@nbraud nbraud commented Aug 9, 2016

Without this, the prompt is simply $(prompt_agnoster_main) (literally).

Without this, the prompt is simply `$(prompt_agnoster_main) ` (literally).
@nbraud
Copy link
Author

nbraud commented Aug 9, 2016

I guess most people have this option set anyway (either by their .zshrc, by oh-my-zsh or by something else), but this might avoid some confusion for those who don't have it set.

@belak
Copy link
Contributor

belak commented Jul 7, 2017

If you use autoload -U promptinit; promptinit; prompt agnoster this should happen already. The prompt_opts array is loaded by the prompt function (though it's not documented anywhere).

@belak
Copy link
Contributor

belak commented Nov 24, 2017

This would be superceded by #60

@nbraud
Copy link
Author

nbraud commented Dec 9, 2017

Indeed, #60 should be an OK fix.

@nbraud nbraud closed this Dec 9, 2017
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.

2 participants