mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-18 05:40:07 +00:00
Adding note about showing tracking branch to README
This commit is contained in:
parent
dcc18581ae
commit
4dce90428a
1 changed files with 3 additions and 2 deletions
|
@ -15,6 +15,7 @@ information.
|
||||||
* branch / tag name
|
* branch / tag name
|
||||||
* current action status (rebasing, merging, etc.,)
|
* current action status (rebasing, merging, etc.,)
|
||||||
* being behind / ahead of your remote
|
* being behind / ahead of your remote
|
||||||
|
* conditionally shows remote tracking branch if it differs from local
|
||||||
* various local working tree statuses
|
* various local working tree statuses
|
||||||
* Shows command number in right-prompt (so you can `$ !<num>` to re-run)
|
* Shows command number in right-prompt (so you can `$ !<num>` to re-run)
|
||||||
* Shows return-code of command if it is an error code
|
* Shows return-code of command if it is an error code
|
||||||
|
@ -77,8 +78,8 @@ To specify which segments you want, just add the following variables to your
|
||||||
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir rbenv vcs)
|
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir rbenv vcs)
|
||||||
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status history time)
|
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status history time)
|
||||||
|
|
||||||
If you want to show the current changeset, enable `POWERLEVEL9K_SHOW_CHANGESET`
|
If you want to show the current changeset in a `git` or `hg` repository, enable
|
||||||
in your `~/.zshrc`:
|
`POWERLEVEL9K_SHOW_CHANGESET` in your `~/.zshrc`:
|
||||||
|
|
||||||
POWERLEVEL9K_SHOW_CHANGESET=true
|
POWERLEVEL9K_SHOW_CHANGESET=true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue