46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
# 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() {
|
||
|
||
local light_blue=$(echo -e "\001\e[38;2;140;206;250m\002")
|
||
|
||
Time12a="\$(date +%H:%M)"
|
||
|
||
GIT_PROMPT_THEME_NAME="x-files-return"
|
||
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="┌──[${Yellow}${PathShort}${ResetColor} "
|
||
GIT_PROMPT_START_ROOT="┌──[${Yellow}${PathShort}${ResetColor} "
|
||
GIT_PROMPT_END_USER="]\n└─$ "
|
||
GIT_PROMPT_END_ROOT="]\n└─# "
|
||
|
||
GIT_PROMPT_SYMBOLS_AHEAD=" "
|
||
GIT_PROMPT_SYMBOLS_BEHIND=" "
|
||
|
||
}
|
||
|
||
reload_git_prompt_colors "x-files-return"
|