1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-18 05:40:07 +00:00

Adding settings var docs to the theme file for people without README

This commit is contained in:
Ben Hilburn 2015-04-02 10:45:53 -07:00
parent 6d07fccaf2
commit b25c0adc4d

View file

@ -1,5 +1,5 @@
# vim:ft=zsh ts=2 sw=2 sts=2 # vim:ft=zsh ts=2 sw=2 sts=2
# ################################################################
# powerlevel9k Theme # powerlevel9k Theme
# https://github.com/bhilburn/powerlevel9k # https://github.com/bhilburn/powerlevel9k
# #
@ -11,10 +11,34 @@
# #
# In order for this theme to render correctly, you will need a Powerline-patched font: # In order for this theme to render correctly, you will need a Powerline-patched font:
# https://github.com/Lokaltog/powerline-fonts # https://github.com/Lokaltog/powerline-fonts
# ################################################################
### Segment drawing ################################################################
# A few utility functions to make it easy and re-usable to draw segmented prompts # Please see the README file located in the source repository for full docs.
# What follows is a brief list of the settings variables used by this theme.
# You should define these variables in your `~/.zshrc`.
#
# Customize which segments appear in which prompts (below is also the default):
# POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir rbenv vcs)
# POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status history time)
#
# Set your Amazon Web Services profile for the `aws` segment:
# export AWS_DEFAULT_PROFILE=<profile_name>
#
# Set your username for the `context` segment:
# export DEFAULT_USER=<your username>
#
# Show the hash/changeset string in the `vcs` segment:
# POWERLEVEL9K_SHOW_CHANGESET=true
# Set the length of the hash/changeset if enabled in the `vcs` segment:
# POWERLEVEL9K_CHANGESET_HASH_LENGTH=6
#
# Make powerlevel9k a double-lined prompt:
# POWERLEVEL9K_PROMPT_ON_NEWLINE=true
#
# Set the colorscheme:
# POWERLEVEL9K_COLOR_SCHEME='light'
################################################################
# The `CURRENT_BG` variable is used to remember what the last BG color used was # The `CURRENT_BG` variable is used to remember what the last BG color used was
# when building the left-hand prompt. Because the RPROMPT is created from # when building the left-hand prompt. Because the RPROMPT is created from