Last active
August 29, 2015 14:04
-
-
Save Zelnox/dd3e237b3bec3aea3f17 to your computer and use it in GitHub Desktop.
bashrc
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
#aliases | |
alias ls='ls -G' # for colours | |
alias gw='cd ~/Documents/work/' | |
alias gsb='cd ~/Documents/sandbox/' | |
# Homebrew | |
if [ -f /usr/local/etc/bash_completion ]; then | |
. /usr/local/etc/bash_completion | |
fi | |
# Shell prompt | |
export LSCOLORS=Exfxcxdxbxegedabagacad | |
function COLOR_ON { | |
echo -ne "\[\e[38;5;$1m\]" | |
} | |
function COLOR_OFF { | |
echo -ne "\[\e[m\]" | |
} | |
export PS1="$(COLOR_ON 99)\u$(COLOR_OFF)$(COLOR_ON 125)@$(COLOR_OFF)$(COLOR_ON 95)\h$(COLOR_OFF) \W $ " | |
export PS2="> " | |
export MYSQL_SOCKET=/tmp/mysql.sock | |
export EDITOR=/usr/local/bin/vim | |
[[ -s $HOME/.tmuxinator/scripts/tmuxinator ]] && source $HOME/.tmuxinator/scripts/tmuxinator | |
### Added by the Heroku Toolbelt | |
#export PATH="/usr/local/heroku/bin:$PATH" not used right now | |
# openssl issue | |
export SSL_CERT_FILE=/usr/local/opt/curl-ca-bundle/share/ca-bundle.crt | |
export PATH=/usr/local/bin:/usr/local/sbin:$PATH:/anaconda/bin | |
## /usr/local/share/python to locate powerline binary | |
# added by Anaconda 1.9.2 installer | |
#export PATH="//anaconda/bin:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment