Skip to content

Instantly share code, notes, and snippets.

@demiurg
Created March 22, 2019 18:56
Show Gist options
  • Save demiurg/5f9a30a7c3af9f421a05a30121a71aa3 to your computer and use it in GitHub Desktop.
Save demiurg/5f9a30a7c3af9f421a05a30121a71aa3 to your computer and use it in GitHub Desktop.
.bashrc
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
export PATH="${PATH}:/usr/local/texlive/2014basic/bin/x86_64-darwin"
#export PATH="$(brew --prefix coreutils)/libexec/gnubin:/usr/local/bin:$PATH"
shopt -s histappend
PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r"
export HISTFILESIZE=10000000
export HISTSIZE=10000000
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
#eval "$(pyenv init -)"
export PATH="${PATH}:~/Library/Python/2.7/bin/"
#export PYTHONPATH=/usr/local/lib/python:/usr/local/lib/python2.7/site-packages:$PYTHONPATH
alias updatedb='sudo /usr/libexec/locate.updatedb'
export LSCOLORS="exfxcxdxbxegedabagacad"
alias l="ls -alh"
alias ll="ls -alF"
alias flushdns="sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache"
alias ssh-x="ssh -c arcfour,blowfish-cbc -XC"
export PS1="\[\e[0;32m\]\h\w?>\[\e[0m\]"
export CLICOLOR=1
export NVM_DIR="$HOME/.nvm"
. "/usr/local/opt/nvm/nvm.sh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment