Clean up rc files & allow local versions

This commit is contained in:
Andrew Miner
2017-07-31 10:00:42 -07:00
parent 3a56f5e178
commit 22c8a5d877
2 changed files with 13 additions and 19 deletions
+3 -19
View File
@@ -1,25 +1,9 @@
export EDITOR=vi
export PS1='[\h:\w]\$ '
export PATH=~/bin:~/node_modules/.bin:/opt/local/bin:/opt/local/sbin:/usr/local/mysql/bin:$PATH
export RAILS_ENV='development'
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin:/sbin
export PATH=$PATH:$HOME/bin:$HOME/node_modules/.bin
alias l='ls -Ghl'
alias la='ls -aGhl'
function count {
find . -name "*.$1" | grep -v "node_modules" | xargs cat | grep -v '^$' | grep -v '^#' | wc -l
}
ssh-add ~/.ssh/id_rsa_andrewminer &>/dev/null
eval "$(rbenv init -)"
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
defaults write com.macromates.TextMate.preview volumeSettings '{ "/" = { extendedAttributes = 0; }; }'
if [[ -e "~/.profile.local" ]]; then
source ~/.profile.local
fi
[[ -e "$HOME/.profile.local" ]] && source $HOME/.profile.local