Fix theme simple and minor fix in theme special.

Too fix variable ${RESET} in git, now save as %b
This commit is contained in:
Jesús
2021-08-19 20:57:23 -05:00
parent 712272e505
commit c236bfbf28
4 changed files with 11 additions and 10 deletions

View File

@@ -6,16 +6,17 @@ unset simple
_colors_bash "$@"
__time_out_command() {
cut -d\ -f1 /proc/loadavg
awk '{ print $1 }' /proc/loadavg
}
: "${simple:=\n\
\[${RESET}\]\
\[${BOLD}${GREY}\]\
\$(__time_out_command) \
\$(exitstatus)\
\$(__prompt_git)\
\[${BOLD}${GREEN}\] $SYMBOL \[$RESET\]}"
\$(exitstatus)\[$RESET\] \
\[${BOLD}${GREY}\]\
\$(__time_out_command)\[$RESET\]\
\$(__prompt_git)\n\
\[${BOLD}${GREEN}\]$SYMBOL \[$RESET\]}"
unset _psi
: "${_psi:=\[${BOLD}${CYAN}\]=>\[$RESET\] }"

View File

@@ -25,7 +25,7 @@ special=("\n\
\[${BOLD}${CYAN}\]hist:\!\[$RESET\]\n\
\[${BOLD}${GREY}\]\
\D{%Y-%m-%d}@\D{%I:%M%p}\[$RESET\] \
\$(exitstatus)\[$_PROMPT_RESET\]\
\$(exitstatus)\[$RESET\]\
\$(__prompt_git)\n\
\[${BOLD}${GREEN}\]$SYMBOL \[$RESET\]")