more compact git info
This commit is contained in:
parent
1e70e1ef19
commit
cc0f934391
1 changed files with 7 additions and 7 deletions
4
bashrc
4
bashrc
|
@ -166,7 +166,7 @@ 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"
|
||||||
|
@ -174,7 +174,7 @@ if [[ -n ${git_enabled} && -r ${git_prompt_path} ]]; then
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue