When using vi_mode segment, the new mode can be enabled by
defining POWERLEVEL9K_VI_OVERWRITE_MODE_STRING.
POWERLEVEL9K_VI_OVERWRITE_MODE_STRING=OVERWRITE
When using prompt_char, the new mode can be enabled by defining
POWERLEVEL9K_PROMPT_CHAR_OVERWRITE_STATE=true. The prompt symbol
in OVERWRITE state defaults to '▶'. It can be customized by
defining POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VIOWR_CONTENT_EXPANSION.
POWERLEVEL9K_PROMPT_CHAR_OVERWRITE_STATE=true
POWERLEVEL9K_PROMPT_CHAR_OK_VIOWR_CONTENT_EXPANSION=R
POWERLEVEL9K_PROMPT_CHAR_ERROR_VIOWR_CONTENT_EXPANSION=R
Fixes#219.
The new state is used whenever there is at least one conflicting
change. It is disabled by default. It can be enabled by
defining POWERLEVEL9K_VCS_CONFLICTING_STATE=true.
POWERLEVEL9K_VCS_CONFLICTING_STATE=true
POWERLEVEL9K_VCS_CONFLICTING_BACKGROUND=magenta
Fixes#221.
The previous instructions for GNOME Terminal were simpler but they had a
hidden risk. Namely, if users skip the first step (install Meslo) and go
directly for the second (set Meslo as the default monospace font), their
terminal gets fucked up. See #218.
Prompt segment `foo` doesn't get evaluated or shown on the left
if `${POWERLEVEL9K_FOO_LEFT_DISABLED-$POWERLEVEL9K_FOO_DISABLED}`
is equal to `true`.
Example:
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(dir)
- By default `dir` is shown on the left and on the right.
- `POWERLEVEL9K_DIR_LEFT_DISABLED=true` disables `dir` on the left.
- `POWERLEVEL9K_DIR_RIGHT_DISABLED=true` disables `dir` on the right.
- `POWERLEVEL9K_DIR_DISABLED=true` disables `dir` everywhere.
Note that it's possible to hide segments without disabling their
evaluation through expansions. For example:
POWERLEVEL9K_DIR_CONTENT_EXPANSION='${HIDE_DIR-$P9K_CONTENT}'
POWERLEVEL9K_DIR_VISUAL_IDENTIFIER_EXPANSION='${HIDE_DIR-$P9K_VISUAL_IDENTIFIER}'
With these settings, `HIDE_DIR=''` hides `dir` while `unset HIDE_DIR`
restores it.
fixes#205