1
0
Fork 0

more compact git info

This commit is contained in:
Von Random 2016-09-06 12:38:15 +03:00
parent 1e70e1ef19
commit cc0f934391

14
bashrc
View file

@ -166,15 +166,15 @@ if [[ -n ${git_enabled} && -r ${git_prompt_path} ]]; then
fi fi
GIT_PROMPT_PREFIX="[ " GIT_PROMPT_PREFIX="[ "
GIT_PROMPT_SUFFIX=" ]" GIT_PROMPT_SUFFIX=" ]"
GIT_PROMPT_SEPARATOR="" GIT_PROMPT_SEPARATOR="|"
GIT_PROMPT_START="[ ${git_prompt_username}${HOSTNAME}:\w ]" GIT_PROMPT_START="[ ${git_prompt_username}${HOSTNAME}:\w ]"
GIT_PROMPT_THEME_NAME="Custom" GIT_PROMPT_THEME_NAME="Custom"
GIT_PROMPT_UNTRACKED=" ${pncyan}u" GIT_PROMPT_UNTRACKED="${pncyan}u"
GIT_PROMPT_CHANGED=" ${pnblue}+" GIT_PROMPT_CHANGED="${pnblue}+"
GIT_PROMPT_STAGED=" ${pnyellow}s" GIT_PROMPT_STAGED="${pnyellow}s"
GIT_PROMPT_CONFLICTS=" ${pnred}x" GIT_PROMPT_CONFLICTS="${pnred}x"
GIT_PROMPT_STASHED=" ${pbmagenta}" GIT_PROMPT_STASHED="${pbmagenta}"
GIT_PROMPT_CLEAN=" ${pngreen}v" GIT_PROMPT_CLEAN="${pngreen}."
GIT_PROMPT_END_USER="\n${pbold}>${preset} " GIT_PROMPT_END_USER="\n${pbold}>${preset} "
GIT_PROMPT_END_ROOT="\n${pnred}>${preset} " GIT_PROMPT_END_ROOT="\n${pnred}>${preset} "
fi fi