summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2018-03-07 05:18:05 +0300
committerGitHub <noreply@github.com>2018-03-07 05:18:05 +0300
commitcfbbd213cb11b86df7517785c2d21037ea2dc9e2 (patch)
treecaab8bc7fb69e0f9108a316cb3298b89cef4f488 /README.md
parent6529b4f2a785b0f38355124f1f237b9a8102f283 (diff)
parenta4aacef7bc9663604682ab1afd5e76ef751d546e (diff)
Merge pull request #729 from Mikewl/usersudo
Added sudo state to prompt_user
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 02defba2..6b516c12 100644
--- a/README.md
+++ b/README.md
@@ -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 |