####################################################### # This Way bash-git-prompt theme. # # This theme is using symbols from the font: # # DejaVuSansMono Nerd Font included in the repositoty # ####################################################### override_git_prompt_colors() { local redc=$(echo -e "\e[38;5;196m") local bluec=$(echo -e "\e[38;5;69m") local greenc=$(echo -e "\e[38;5;41m") local yellowc=$(echo -e "\e[38;5;226m") local cyanc=$(echo -e "\e[38;5;117m") local goldc=$(echo -e "\e[38;5;178m") local greyc=$(echo -e "\e[38;5;250m") local whitec=$(echo -e "\e[97m") Time12a="\$(date +%H:%M)" GIT_PROMPT_THEME_NAME="this-way" GIT_PROMPT_ONLY_IN_REPO=1 GIT_PROMPT_LEADING_SPACE=0 GIT_PROMPT_REMOTE="" GIT_PROMPT_BRANCH="${cyanc} " GIT_PROMPT_PREFIX="[" GIT_PROMPT_SUFFIX="]" GIT_PROMPT_SEPARATOR=" " GIT_PROMPT_STAGED="${redc}" GIT_PROMPT_CONFLICTS="${redc}✗" GIT_PROMPT_CHANGED=" ${bluec}+" GIT_PROMPT_UNTRACKED=" ${greenc}" GIT_PROMPT_STASHED=" ${yellowc}" GIT_PROMPT_CLEAN="${greenc}❯❯" GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING="${greyc} " GIT_PROMPT_COMMAND_OK="${greenc}❯❯ " GIT_PROMPT_COMMAND_FAIL="${redc}❮❮ " GIT_PROMPT_START_USER="_LAST_COMMAND_INDICATOR_" GIT_PROMPT_START_ROOT="_LAST_COMMAND_INDICATOR_" GIT_PROMPT_END_USER="${goldc} ${PathShort}${whitec} ❯❯ ${ResetColor}" GIT_PROMPT_END_ROOT="${goldc} ${PathShort}${redc} ❯❯ ${ResetColor}" GIT_PROMPT_SYMBOLS_AHEAD="${whitec} " GIT_PROMPT_SYMBOLS_BEHIND="${whitec} " } reload_git_prompt_colors "this-way"