Last active
December 16, 2015 01:09
-
-
Save Superbil/5352976 to your computer and use it in GitHub Desktop.
my 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
# System-wide .bashrc file for interactive bash(1) shells. | |
if [ -z "$PS1" ]; then | |
return | |
fi | |
# yummy ! | |
PS1='\h:\W🍔 \u\$ ' | |
# Make bash check its window size after a process completes | |
shopt -s checkwinsize | |
# homebrew setup | |
path=(/usr/local/sbin /usr/local/bin $path) | |
if [[ -x $(which brew) ]]; then | |
manpath=(/usr/share/man /usr/local/share/man $manpath) | |
# Set Python path on brew | |
if [[ -x $(brew --prefix)/share/python ]]; then | |
path=($(brew --prefix)/share/python $path) | |
fi | |
# Set brew-pip path | |
export PYTHONPATH=$(brew --prefix)/lib/python2.7/site-packages | |
fi | |
# setup color | |
# http://apple.stackexchange.com/questions/33677/how-can-i-configure-mac-terminal-to-have-color-ls-output | |
export CLICOLOR=1 | |
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx | |
alias ls='ls -G' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment