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

Root prompt seems to ignore a default mark #501

Closed
iainhallam opened this issue Feb 10, 2017 · 2 comments
Closed

Root prompt seems to ignore a default mark #501

iainhallam opened this issue Feb 10, 2017 · 2 comments

Comments

@iainhallam
Copy link

Shell: bash
Operating system: Debian Jessie
Liquid Prompt version: 1.11

I've been experimenting with LP as root, and tried to set a default mark as I would for a user account, which works fine, but as root I keep getting the # mark. I've set it in .config/liduidpromptrc, and can see the resulting variable in my environment:

set | grep ^LP_MARK_DEFAULT
LP_MARK_DEFAULT='>'

However:

set | grep ^LP_MARK=
LP_MARK=$'\$\[\E(B\E[m\] '

Do I need to enable something extra as root to get the default mark to be respected?

@dolmen
Copy link
Collaborator

dolmen commented Feb 10, 2017

.config/liduidpromptrc is not the right file. But I suppose this is just a typo...

I just reproduced your issue. A fix is on the way...

@dolmen dolmen closed this as completed in 2bf5402 Feb 10, 2017
@iainhallam
Copy link
Author

Yes, that was a typo! Thanks for the fix; I've confirmed that it works on my copy.

pkkolos pushed a commit to pkkolos/liquidprompt that referenced this issue May 2, 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

No branches or pull requests

2 participants