diff options
author | Ben Hilburn <bhilburn@gmail.com> | 2018-03-07 05:18:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-07 05:18:05 +0300 |
commit | cfbbd213cb11b86df7517785c2d21037ea2dc9e2 (patch) | |
tree | caab8bc7fb69e0f9108a316cb3298b89cef4f488 /README.md | |
parent | 6529b4f2a785b0f38355124f1f237b9a8102f283 (diff) | |
parent | a4aacef7bc9663604682ab1afd5e76ef751d546e (diff) |
Merge pull request #729 from Mikewl/usersudo
Added sudo state to prompt_user
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -312,7 +312,7 @@ main theme distribution so that everyone can use it! The `context` segment (user@host string) is conditional. By default, it will only print if you are not your 'normal' user (including if you are root), or if -you are SSH'd to a remote host. +you are SSH'd to a remote host. `SUDO` and `REMOTE_SUDO` states are also available to show whether the current user or remote user has superuser privileges. To use this feature, make sure the `context` segment is enabled in your prompt elements (it is by default), and define a `DEFAULT_USER` in your `~/.zshrc`. @@ -581,6 +581,7 @@ You can also override the icons by setting: ``` POWERLEVEL9K_USER_ICON="\uF415" # POWERLEVEL9K_ROOT_ICON="#" +POWERLEVEL9K_SUDO_ICON=$'\uF09C' # ``` | Variable | Default Value | Description | |