Created
February 17, 2017 15:43
-
-
Save fgerschau/cc820828a32b422d75e5f8a550f695c9 to your computer and use it in GitHub Desktop.
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
# Enable tab completion | |
source ~/git-completion.bash | |
# colors! | |
green="\[\033[0;32m\]" | |
blue="\[\033[0;34m\]" | |
purple="\[\033[0;35m\]" | |
red="\[\033[0;31m\]" | |
lightred="\[\033[1;31m\]" | |
reset="\[\033[0m\]" | |
# Change command prompt | |
source ~/git-prompt.sh | |
export GIT_PS1_SHOWDIRTYSTATE=1 | |
# '\u' adds the name of the current user to the prompt | |
# '\$(__git_ps1)' adds git-related stuff | |
# '\W' adds the name of the current directory | |
export PS1="$red\u$green\$(__git_ps1)$green \W $ $reset" | |
alias subl="/Applications/Sublime.app/Contents/SharedSupport/bin/subl" | |
alias code="/Applications/Visual\ Studio\ Code.app/Contents/MacOS/Electron -background" | |
# Setting PATH for Python 3.5 | |
# The orginal version is saved in .bash_profile.pysave | |
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}" | |
export PATH | |
## | |
# Your previous /Users/Felix/.bash_profile file was backed up as /Users/Felix/.bash_profile.macports-saved_2016-11-12_at_20:54:34 | |
## | |
# MacPorts Installer addition on 2016-11-12_at_20:54:34: adding an appropriate PATH variable for use with MacPorts. | |
export PATH="/opt/local/bin:/opt/local/sbin:$PATH" | |
# Finished adapting your PATH environment variable for use with MacPorts. | |
## | |
# Your previous /Users/Felix/.bash_profile file was backed up as /Users/Felix/.bash_profile.macports-saved_2016-11-12_at_21:16:01 | |
## | |
# MacPorts Installer addition on 2016-11-12_at_21:16:01: adding an appropriate PATH variable for use with MacPorts. | |
export PATH="/opt/local/bin:/opt/local/sbin:$PATH" | |
# Finished adapting your PATH environment variable for use with MacPorts. | |
export NVM_DIR="/Users/Felix/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment