Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Show git branch in the prompt, additionally MSYSTEM in MSYS2.
- if ! [ -x "$(command -v __git_ps1)" ]; then
- source git-prompt.sh
- fi
- if [[ -z "${MSYSTEM}" ]]; then
- MSYSTEM_DISP=""
- else
- MSYSTEM_DISP=" ${MSYSTEM} "
- fi
- export PS1='\n\e[92m\u\e[32m@\h\e[35m${MSYSTEM_DISP}\e[39m\w\e[93m`__git_ps1`\n\e[39m\$ '
Add Comment
Please, Sign In to add comment