Created
November 9, 2016 16:26
-
-
Save diije/6440d092def9a9c0ba359be45c5f645a to your computer and use it in GitHub Desktop.
My custom .bash_profile
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
| if [ -f ~/.bashrc ]; then | |
| source ~/.bashrc | |
| fi | |
| export PATH=/usr/local/bin:/usr/local/share/python:$PATH | |
| # Setting PATH for Python 3.4 | |
| # The orginal version is saved in .bash_profile.pysave | |
| PATH="/Library/Frameworks/Python.framework/Versions/3.4/bin:${PATH}" | |
| export PATH | |
| # Using python3 as default | |
| alias python='python3' | |
| alias pip='pip3' | |
| # I prefer vim | |
| alias vi='vim' | |
| alias date='gdate' | |
| # Autocompletion when sudo | |
| complete -cf sudo | |
| export PATH="/usr/local/mysql/bin:/usr/local/Cellar:$PATH" | |
| export HOMEBREW_GITHUB_API_TOKEN=b92b8f6f72722f42473297f300e4129166b6f01e | |
| # Colorful terminal | |
| export CLICOLOR=1 | |
| # Custom prompt with hour and colors | |
| PS1='\[\e[0;37m\][\t] \[\e[0;31m\]\u@\h\[\e[0;37m\]:\[\e[1;32m\]\w\[\e[0;37m\]\$\[\e[0m\] ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment