mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-25 13:51:57 +00:00
Make the customizable parameters in nicoulaj truly customizable
After this change, users can set the customizable variables before the theme is loaded.
This commit is contained in:
parent
b9e73b4481
commit
5e62a6e8b9
1 changed files with 6 additions and 6 deletions
12
themes/nicoulaj.zsh-theme
Normal file → Executable file
12
themes/nicoulaj.zsh-theme
Normal file → Executable file
|
@ -12,12 +12,12 @@
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
# Customizable parameters.
|
# Customizable parameters.
|
||||||
PROMPT_PATH_MAX_LENGTH=30
|
PROMPT_PATH_MAX_LENGTH=${PROMPT_PATH_MAX_LENGTH:-30}
|
||||||
PROMPT_DEFAULT_END=❯
|
PROMPT_DEFAULT_END=${PROMPT_DEFAULT_END:-❯}
|
||||||
PROMPT_ROOT_END=❯❯❯
|
PROMPT_ROOT_END=${PROMPT_ROOT_END:-❯❯❯}
|
||||||
PROMPT_SUCCESS_COLOR=$FG[071]
|
PROMPT_SUCCESS_COLOR=${PROMPT_SUCCESS_COLOR:-$FG[071]}
|
||||||
PROMPT_FAILURE_COLOR=$FG[124]
|
PROMPT_FAILURE_COLOR=${PROMPT_FAILURE_COLOR:-$FG[124]}
|
||||||
PROMPT_VCS_INFO_COLOR=$FG[242]
|
PROMPT_VCS_INFO_COLOR=${PROMPT_VCS_INFO_COLOR:-$FG[242]}
|
||||||
|
|
||||||
# Set required options.
|
# Set required options.
|
||||||
setopt promptsubst
|
setopt promptsubst
|
||||||
|
|
Loading…
Reference in a new issue