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

prompt_tag inserts a space after LP_PS1_PREFIX #735

Open
nojhan opened this issue Sep 19, 2022 · 0 comments
Open

prompt_tag inserts a space after LP_PS1_PREFIX #735

nojhan opened this issue Sep 19, 2022 · 0 comments

Comments

@nojhan
Copy link
Collaborator

nojhan commented Sep 19, 2022

The function prompt_tag sets the LP_PS1_PREFIX with a trailing space, but it should not.

Expected Behavior

Spacing should be handled by the themes, allowing for no space at all, or whatever character one want, just as for the other sections.

Current Behavior

prompt_tag inserts the space, which is a problem for themes that do not want spaces (e.g. neon).

Possible Solution

Add the space within the _lp_default_theme_prompt_data function.

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

No branches or pull requests

1 participant