mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-18 05:40:07 +00:00
Minor cleanup of whitespace and README
This commit is contained in:
parent
10ce7c3566
commit
4a9886c25b
2 changed files with 5 additions and 4 deletions
|
@ -58,8 +58,9 @@ in your `~/.zshrc`:
|
||||||
|
|
||||||
### Customization
|
### Customization
|
||||||
|
|
||||||
You can choose, which segments are shown on each side. Just add the following variables to
|
You can choose which segments are shown on each side. Just add the following variables to
|
||||||
your `~/.zshrc`:
|
your `~/.zshrc`. The below also shows the default settings if you don't define
|
||||||
|
your own.
|
||||||
|
|
||||||
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir git)
|
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir git)
|
||||||
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status history time)
|
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status history time)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
# This theme was inspired by agnoster's Theme:
|
# This theme was inspired by agnoster's Theme:
|
||||||
# https://gist.github.com/3712874
|
# https://gist.github.com/3712874
|
||||||
#
|
#
|
||||||
# The `vcs_info` hooks in this file are from Tom Upton:
|
# The `vcs_info` hooks in this file are from Tom Upton:
|
||||||
# https://github.com/tupton/dotfiles/blob/master/zsh/zshrc
|
# https://github.com/tupton/dotfiles/blob/master/zsh/zshrc
|
||||||
#
|
#
|
||||||
|
@ -236,7 +236,7 @@ build_left_prompt() {
|
||||||
for element in $POWERLEVEL9K_LEFT_PROMPT_ELEMENTS; do
|
for element in $POWERLEVEL9K_LEFT_PROMPT_ELEMENTS; do
|
||||||
prompt_$element "left"
|
prompt_$element "left"
|
||||||
done
|
done
|
||||||
|
|
||||||
left_prompt_end
|
left_prompt_end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue