This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# print the git branch name if in a git project | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/' | |
} | |
# set the input prompt symbol | |
ARROW="❯" | |
# define text formatting | |
PROMPT_BOLD="$(tput bold)" | |
PROMPT_UNDERLINE="$(tput smul)" | |
PROMPT_FG_GREEN="$(tput setaf 2)" |