Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Add option to set root user prompt symbol #89

Open
matchai opened this issue Oct 17, 2018 · 2 comments
Open

Add option to set root user prompt symbol #89

matchai opened this issue Oct 17, 2018 · 2 comments

Comments

@matchai
Copy link
Owner

matchai commented Oct 17, 2018

Feature Request

Add configuration options to set the prompt character for the root user:

  • SPACESHIP_CHAR_SYMBOL_ROOT to change the root prompt

The prompt defaults to $SPACESHIP_CHAR_SYMBOL, so this change should not alter the current behavior and not affect any users that don't change those vars.

Describe the solution you'd like
A port of the existing implementation in the following Spaceship PR: spaceship-prompt/spaceship-prompt#461

@kulabun
Copy link
Contributor

kulabun commented Dec 4, 2018

There is not such thing like secondary prompt in fish and doesn't seems to appear in nearest future:
fish-shell/fish-shell#3382
So this feature will only include:
SPACESHIP_CHAR_SYMBOL
SPACESHIP_CHAR_SYMBOL_ROOT

@matchai matchai changed the title Add options to set secondary prompt and root user prompt symbol Add option to set root user prompt symbol Dec 4, 2018
@matchai
Copy link
Owner Author

matchai commented Dec 4, 2018

Good catch @kulabun! 👀
I'll update the issue to suit what would be possible in fish.

@matchai matchai pinned this issue Dec 15, 2018
@matchai matchai unpinned this issue Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants