mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-04 21:56:46 +01:00
Show revision-Changeset, if POWERLEVEL9K_SHOW_CHANGESET is enabled.
This commit is contained in:
parent
4020b25a43
commit
731f43e22b
2 changed files with 20 additions and 3 deletions
|
|
@ -77,6 +77,11 @@ To specify which segments you want, just add the following variables to your
|
|||
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir rbenv vcs)
|
||||
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status history time)
|
||||
|
||||
If you want to show the current changeset, enable `POWERLEVEL9K_SHOW_CHANGESET`
|
||||
in your `~/.zshrc`:
|
||||
|
||||
POWERLEVEL9K_SHOW_CHANGESET=true
|
||||
|
||||
#### Conditional 'context'
|
||||
|
||||
The `context` segment (user@host string) is conditional. This lets you enable it, but only display
|
||||
|
|
@ -88,7 +93,6 @@ elements (it is by default), and define a `DEFAULT_USER` in your `~/.zshrc`:
|
|||
|
||||
export DEFAULT_USER=<your username>
|
||||
|
||||
|
||||
### Bugs / Contact
|
||||
|
||||
If you have any requests or bug reports, please use the tracker in this Github
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue