Browse Source

Add RVM sourcing and prefer clang for C

master
Taylor Bockman 7 years ago
parent
commit
8f0dcb1412
  1. 7
      dotfiles/zshrc

7
dotfiles/zshrc

@ -1,6 +1,8 @@
#Portable across both mac and linux now #Portable across both mac and linux now
export LC_ALL=en_US.UTF-8 export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
if [[ "$OSTYPE" == "linux-gnu" ]]; then if [[ "$OSTYPE" == "linux-gnu" ]]; then
# Linux # Linux
eval `dircolors ~/.dir_colors/dircolors` eval `dircolors ~/.dir_colors/dircolors`
@ -18,6 +20,7 @@ export GOPATH=$HOME/go/
export PATH=$PATH:"$GOPATH/bin" export PATH=$PATH:"$GOPATH/bin"
alias emacs='emacs -nw' alias emacs='emacs -nw'
alias vim='nvim'
alias irssi='TERM=screen-256color irssi' alias irssi='TERM=screen-256color irssi'
alias scheme='rlwrap mit-scheme' alias scheme='rlwrap mit-scheme'
alias startpg='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start' alias startpg='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start'
@ -121,3 +124,7 @@ if hash opam 2>/dev/null; then
eval `opam config env` eval `opam config env`
fi fi
# Source RVM if it exists
if [ -f /home/$USER/.rvm/scripts/rvm ]; then
source /home/$USER/.rvm/scripts/rvm
fi

Loading…
Cancel
Save