Closed betaboon closed 5 years ago
I am considering to change the variable-names again and introduce some more do better configure colors of sections.
like this:
ALIEN_SECTION_DATE_TIME_ENABLE
ALIEN_SECTION_DATE_TIME_FORMAT
ALIEN_SECTION_DATE_TIME_FG
or ALIEN_SECTION_DATE_TIME_FOREGROUND
ALIEN_SECTION_DATE_TIME_BG
or ALIEN_SECTION_DATE_TIME_BACKGROUND
and so on and so forth.
I just added the aforementioned changes on a branch in my fork: https://github.com/betaboon/alien/tree/fork
btw i took inspiration for the user+host section at @Diagonactic fork: https://github.com/Diagonactic/alien/blob/master/alien.zsh#L29
Please check if the PR fulfills these requirements
[ ] The commit message follows our guidelines
[x] Docs have been added / updated in README.md (for features)
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the new behavior (if this is a feature change)? New configuration options:
ALIEN_SHOW_EXIT_CODE
- show the numeric exit-codeALIEN_SHOW_DATE_TIME
- completely disable the date/time-sectionALIEN_SHOW_BATTERY
- completely disable the battery-sectionALIEN_SHOW_USER_HOST
- completely disable the user/host-sectionALIEN_SHOW_HOST
- show the hostnameALIEN_LONG_PATH
- show the full pathALIEN_PROMPT_SYM
- change the symbol of the promptALIEN_SECTION_SEP_SYM
- change the symbol of the separator between sectionsDoes this PR introduce a breaking change? (What changes might users need to make in their configuration due to this PR?)
Other information: