Compare commits

...

2 Commits

Author SHA1 Message Date
Hong Xu cfbabac32b
Merge 5e62a6e8b9 into 028d653632 2025-01-16 15:31:38 +01:00
Hong Xu 5e62a6e8b9 Make the customizable parameters in nicoulaj truly customizable
After this change, users can set the customizable variables before the theme is
loaded.
2024-12-19 23:37:37 -08:00
1 changed files with 6 additions and 6 deletions

12
themes/nicoulaj.zsh-theme Normal file → Executable file
View File

@ -12,12 +12,12 @@
# ------------------------------------------------------------------------------
# Customizable parameters.
PROMPT_PATH_MAX_LENGTH=30
PROMPT_DEFAULT_END=
PROMPT_ROOT_END=
PROMPT_SUCCESS_COLOR=$FG[071]
PROMPT_FAILURE_COLOR=$FG[124]
PROMPT_VCS_INFO_COLOR=$FG[242]
PROMPT_PATH_MAX_LENGTH=${PROMPT_PATH_MAX_LENGTH:-30}
PROMPT_DEFAULT_END=${PROMPT_DEFAULT_END:-}
PROMPT_ROOT_END=${PROMPT_ROOT_END:-}
PROMPT_SUCCESS_COLOR=${PROMPT_SUCCESS_COLOR:-$FG[071]}
PROMPT_FAILURE_COLOR=${PROMPT_FAILURE_COLOR:-$FG[124]}
PROMPT_VCS_INFO_COLOR=${PROMPT_VCS_INFO_COLOR:-$FG[242]}
# Set required options.
setopt promptsubst