bash-git-prompt/themes/half-life.bgptheme

52 lines
2.0 KiB
Plaintext
Raw Permalink Normal View History

2025-02-03 12:59:23 +01:00
#######################################################
# Half-Life bash-git-prompt theme. #
# This theme is using symbols from the font: #
# DejaVuSansMono Nerd Font included in the repositoty #
#######################################################
override_git_prompt_colors() {
local black_orangec=$(echo -e "\e[30;48;5;208m")
local black_orangebc=$(echo -e "\e[30;48;5;208;1m")
local circle_orange_black=$(echo -e "\e[38;5;208;40m")
local circle_black_orange=$(echo -e "\e[30;48;5;208m")
local orange_orange=$(echo -e "\e[38;5;208;48;5;208m")
local lambda_symbol=$(echo -e "\e[38;5;208;40;1m")
local clean_symbol=$(echo -e "\e[38;5;41;40m")
Time12a="\$(date +%H:%M)"
GIT_PROMPT_THEME_NAME="half-life"
GIT_PROMPT_ONLY_IN_REPO=1
GIT_PROMPT_LEADING_SPACE=0
GIT_PROMPT_REMOTE=""
GIT_PROMPT_BRANCH="${circle_black_orange} ${lambda_symbol}λ${ResetColor}${circle_black_orange}  "
GIT_PROMPT_PREFIX=""
GIT_PROMPT_SUFFIX=""
GIT_PROMPT_SEPARATOR=""
GIT_PROMPT_STAGED="${black_orangec} "
GIT_PROMPT_CONFLICTS="${black_orangec} ✗"
GIT_PROMPT_CHANGED="${black_orangec} +"
GIT_PROMPT_UNTRACKED="${black_orangec} "
GIT_PROMPT_STASHED="${black_orangec} "
GIT_PROMPT_CLEAN="${circle_black_orange} ${clean_symbol}${circle_black_orange}"
GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING="${black_orangec} "
GIT_PROMPT_COMMAND_OK="${black_orangec}✔ "
GIT_PROMPT_COMMAND_FAIL="${black_orangec}✗ "
GIT_PROMPT_START_USER="${circle_orange_black}${ResetColor}"
GIT_PROMPT_START_ROOT="${circle_orange_black}${ResetColor}"
GIT_PROMPT_END_USER="${black_orangec} ${PathShort}${circle_orange_black}${ResetColor} "
GIT_PROMPT_END_ROOT="${black_orangec} ${PathShort}${circle_black_orange} ${root_symbol}#${ResetColor}${circle_black_orange} ${circle_orange_black} ${ResetColor}"
GIT_PROMPT_SYMBOLS_AHEAD="${black_orangec} "
GIT_PROMPT_SYMBOLS_BEHIND="${black_orangec} "
}
reload_git_prompt_colors "half-life"