You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
438 B

# Use the iterm2 material theme in the root directory of the essentials repository. For linux,
# you will need to source a material theme color scheme for your terminal.
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
# If you ever needed weather...
weather() {
curl wttr.in
}
export PROMPT_DIRTRIM=2
export PS1="\e[1;37m\u@\h\e[m: \e[1;34m\w\e[m \e[1;32m\[$(parse_git_branch)\]\e[m> "