bash-git-prompt/themes/x-files-robby-russell.bgptheme

52 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

2025-01-09 10:54:35 +01:00
# X-Files bash-git-prompt theme.
# This theme is using symbols from the font:
# DejaVuSansMono Nerd Font included in the repositoty
#
# Font Test:
#                          
override_git_prompt_colors() {
function prompt_callback {
local PS1="$(gp_truncate_pwd)"
gp_set_window_title "$PS1"
}
local light_blue=$(echo -e "\001\e[38;2;140;206;250m\002")
Time12a="\$(date +%H:%M)"
PathShort="\W";
GIT_PROMPT_THEME_NAME="x-files-robby-russell"
GIT_PROMPT_ONLY_IN_REPO=1
GIT_PROMPT_LEADING_SPACE=0
GIT_PROMPT_REMOTE=""
GIT_PROMPT_BRANCH="${light_blue} "
GIT_PROMPT_PREFIX="["
GIT_PROMPT_SUFFIX="]"
GIT_PROMPT_SEPARATOR=" "
GIT_PROMPT_STAGED="${Red}●"
GIT_PROMPT_CONFLICTS=" ${Red}✗ "
GIT_PROMPT_CHANGED=" ${Blue}+"
GIT_PROMPT_UNTRACKED=" ${light_blue}…"
GIT_PROMPT_STASHED=" ${Green}"
GIT_PROMPT_CLEAN="${Green}✔"
GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING="${light_blue} "
GIT_PROMPT_COMMAND_OK="${Green}➜ "
GIT_PROMPT_COMMAND_FAIL="${Red}➜ "
GIT_PROMPT_START_USER="_LAST_COMMAND_INDICATOR_${Yellow}${PathShort}${ResetColor} "
GIT_PROMPT_START_ROOT="_LAST_COMMAND_INDICATOR_${Yellow}${PathShort}${ResetColor} "
GIT_PROMPT_END_USER="${ResetColor} "
GIT_PROMPT_END_ROOT="${Red} # ${ResetColor}"
GIT_PROMPT_SYMBOLS_AHEAD=" "
GIT_PROMPT_SYMBOLS_BEHIND=" "
}
reload_git_prompt_colors "x-files-robby-russell"