|
|
|
@ -42,6 +42,7 @@ function git_prompt_config() |
|
|
|
local White='\[\033[37m\]' |
|
|
|
local White='\[\033[37m\]' |
|
|
|
local Red="\[\033[0;31m\]" |
|
|
|
local Red="\[\033[0;31m\]" |
|
|
|
local Blue="\[\033[0;34m\]" |
|
|
|
local Blue="\[\033[0;34m\]" |
|
|
|
|
|
|
|
local Cyan="\[\033[0;36m\]" |
|
|
|
|
|
|
|
|
|
|
|
# Default values for the appearance of the prompt. Configure at will. |
|
|
|
# Default values for the appearance of the prompt. Configure at will. |
|
|
|
GIT_PROMPT_PREFIX="[" |
|
|
|
GIT_PROMPT_PREFIX="[" |
|
|
|
@ -52,8 +53,8 @@ function git_prompt_config() |
|
|
|
GIT_PROMPT_CONFLICTS="${Red}✖ " |
|
|
|
GIT_PROMPT_CONFLICTS="${Red}✖ " |
|
|
|
GIT_PROMPT_CHANGED="${Blue}✚ " |
|
|
|
GIT_PROMPT_CHANGED="${Blue}✚ " |
|
|
|
GIT_PROMPT_REMOTE=" " |
|
|
|
GIT_PROMPT_REMOTE=" " |
|
|
|
GIT_PROMPT_UNTRACKED="…" |
|
|
|
GIT_PROMPT_UNTRACKED="${Cyan}…" |
|
|
|
GIT_PROMPT_STASHED="⚑ " |
|
|
|
GIT_PROMPT_STASHED="${BoldBlue}⚑ " |
|
|
|
GIT_PROMPT_CLEAN="${BoldGreen}✔" |
|
|
|
GIT_PROMPT_CLEAN="${BoldGreen}✔" |
|
|
|
|
|
|
|
|
|
|
|
# Various variables you might want for your PS1 prompt instead |
|
|
|
# Various variables you might want for your PS1 prompt instead |
|
|
|
|