aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2018-07-12 01:37:54 +0300
committerDominik Ritter <dritter03@googlemail.com>2018-07-12 01:37:54 +0300
commitd1fc86e59813c2c3d5b11508c8112936a5db7ced (patch)
tree65e0b3de78e65204795171e13902afdb183848b9
parentd031b3e03522d47607173ebda89e7558b622a322 (diff)
Add new states to context segment in README
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 90680ac8..9956acf8 100644
--- a/README.md
+++ b/README.md
@@ -357,6 +357,17 @@ end of the hostname.
|`POWERLEVEL9K_ALWAYS_SHOW_USER`|false|Always show the username, but conditionalize the hostname.|
|`POWERLEVEL9K_CONTEXT_TEMPLATE`|%n@%m|Default context prompt (username@machine). Refer to the [ZSH Documentation](http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html) for all possible expansions, including deeper host depths.|
+This segment can have different states. They might help you to visualize your
+different priviledges. Read more about styling with states [here](https://github.com/bhilburn/powerlevel9k/wiki/Stylizing-Your-Prompt#special-segment-colors).
+
+| State | Meaning |
+|---------------|----------------------------------------------------------|
+| `DEFAULT` | |
+| `ROOT` | You are logged in as root |
+| `SUDO` | You still have elevated rights |
+| `REMOTE_SUDO` | You are SSH'ed in vour machine and have elevated rights |
+| `REMOTE` | You SSH'ed in your machine |
+
##### date
The `date` segment shows the current system date.