-
Notifications
You must be signed in to change notification settings - Fork 2.1k
support Administrator in fish_prompt.fish #7031
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
Comments
Yeah this should probably be a helper function - That way we wouldn't have to change it in every single prompt. 9 of our 16 prompts do this, one only checks for "root". |
I'm really interesting to work on this issue. I will make this soon as possible. |
damani42
added a commit
to damani42/fish-shell
that referenced
this issue
Jun 17, 2020
Add a helper function to check if the user is root. This function can be useful for the prompts for example. Modify the prompts made root checked to use the function instead. Add also the support of Administrator like a root user. Fixes: fish-shell#7031
damani42
added a commit
to damani42/fish-shell
that referenced
this issue
Jun 17, 2020
Add a helper function to check if the user is root. This function can be useful for the prompts for example. Modify the prompts made root checked to use the function instead. Add also the support of Administrator like a root user. Fixes: fish-shell#7031
damani42
added a commit
to damani42/fish-shell
that referenced
this issue
Jun 18, 2020
Add a helper function to check if the user is root. This function can be useful for the prompts for example. Modify the prompts made root checked to use the function instead. Add also the support of Administrator like a root user. Fixes: fish-shell#7031
damani42
added a commit
to damani42/fish-shell
that referenced
this issue
Jun 23, 2020
Add a helper function to check if the user is root. This function can be useful for the prompts for example. Modify the prompts made root checked to use the function instead. Add also the support of Administrator like a root user. Fixes: fish-shell#7031
faho
pushed a commit
that referenced
this issue
Jun 26, 2020
Add a helper function to check if the user is root. This function can be useful for the prompts for example. Modify the prompts made root checked to use the function instead. Add also the support of Administrator like a root user. Fixes: #7031
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
fish, version 3.1.0
http://cygwin.com/
The text was updated successfully, but these errors were encountered: