Last active
July 1, 2020 21:33
-
-
Save murilogteixeira/9ccf0fcdee8b2cad82bebe8e43ed2b05 to your computer and use it in GitHub Desktop.
My .bash_profile macOS.
This file contains 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
#Git | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1="\W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ " | |
#Pasta de shell scripts | |
export PATH=$PATH:~/development/shell/ | |
alias watch='watch.sh' | |
alias tomcat='tomcat.sh' | |
alias maven='maven.sh' | |
#Flutter | |
export PATH="$PATH:~/development/flutter/bin" | |
#Maven | |
export M2_HOME=~/development/apache-maven/ | |
export M2=$M2_HOME/bin | |
export PATH=$M2:$PATH | |
#Node | |
export PATH="$PATH:/usr/local/bin/node" | |
#NPM | |
export PATH="$PATH:/usr/local/bin/npm" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment