####################################################### # Fancy Gold 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 greenc=$(echo -e "\e[38;5;41m") local white_goldc=$(echo -e "\e[97;48;5;178m") local white_bluec=$(echo -e "\e[97;48;5;25m") local white_redc=$(echo -e "\e[97;48;5;196m") local arrow_black_blue=$(echo -e "\e[30;48;5;25m") local arrow_blue_gold=$(echo -e "\e[38;5;25;48;5;178m") local arrow_gold_black=$(echo -e "\e[38;5;178;40m") local arrow_blue_red=$(echo -e "\e[38;5;25;48;5;196m") local arrow_red_black=$(echo -e "\e[38;5;196;40m") Time12a="\$(date +%H:%M)" GIT_PROMPT_THEME_NAME="fancy-gold" GIT_PROMPT_ONLY_IN_REPO=1 GIT_PROMPT_LEADING_SPACE=0 GIT_PROMPT_REMOTE="" GIT_PROMPT_BRANCH="${white_bluec}  " GIT_PROMPT_PREFIX="" GIT_PROMPT_SUFFIX="" GIT_PROMPT_SEPARATOR="" GIT_PROMPT_STAGED="${white_bluec} " GIT_PROMPT_CONFLICTS="${white_bluec} ✗" GIT_PROMPT_CHANGED="${white_bluec} +" GIT_PROMPT_UNTRACKED="${white_bluec} " GIT_PROMPT_STASHED="${white_bluec} " GIT_PROMPT_CLEAN="${white_bluec} ✔" GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING="${white_bluec} " GIT_PROMPT_COMMAND_OK="${greenc}✔ " GIT_PROMPT_COMMAND_FAIL="${redc}✗ " GIT_PROMPT_START_USER="${arrow_black_blue}${ResetColor}" GIT_PROMPT_START_ROOT="${arrow_black_blue}${ResetColor}" GIT_PROMPT_END_USER="${arrow_blue_gold}${white_goldc}${PathShort}${arrow_gold_black}${ResetColor} " GIT_PROMPT_END_ROOT="${arrow_blue_red}${white_redc}${PathShort}${arrow_red_black}${ResetColor} " GIT_PROMPT_SYMBOLS_AHEAD="${white_bluec} " GIT_PROMPT_SYMBOLS_BEHIND="${white_bluec} " } reload_git_prompt_colors "fancy-gold"