Commits

Paul McLanahan committed 4748127

Fixed a bunch of things for my new Mac setup.

  • Participants
  • Parent commits d8fb79c

Comments (0)

Files changed (5)

File dotfiles/.bash_aliases

 alias lt='ls -ltrA'
 alias tl='twidge update'
 alias lstl='twidge lsarchive'
-alias ack='ack-grep'
 alias psg='ps aux | grep -i'
 
 if [ -x /usr/bin/htop ]; then

File dotfiles/.bashrc

 export WORKON_HOME=$HOME/.virtualenvs
 export PIP_VIRTUALENV_BASE=$WORKON_HOME
 export VIRTUALENVWRAPPER_BITBUCKET_USER=pmclanahan
+export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python
 if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then
     source /usr/local/bin/virtualenvwrapper.sh
-elif [ -f /Library/Frameworks/Python.framework/Versions/2.6/bin/virtualenvwrapper.sh ]; then
-    source /Library/Frameworks/Python.framework/Versions/2.6/bin/virtualenvwrapper.sh
+elif [ -f /usr/local/share/python/virtualenvwrapper.sh ]; then
+    source /usr/local/share/python/virtualenvwrapper.sh
 fi
 
 # don't put duplicate lines in the history. See bash(1) for more options
 export EDITOR=/usr/bin/vi
 
 export LESS="-FSRXi"
+export GRIN_ARGS="-C 2"
 
 # check the window size after each command and, if necessary,
 # update the values of LINES and COLUMNS.
 if [ -f /etc/bash_completion ]; then
     . /etc/bash_completion
 fi
+if [ -f /usr/local/etc/bash_completion ]; then
+    . /usr/local/etc/bash_completion
+fi
 
 if [ -f ~/src/django-release/extras/django_bash_completion ]; then
     . ~/src/django-release/extras/django_bash_completion

File dotfiles/.hgignore

 *.kpf
 *.wpr
 .idea
+.vagrant
+Vagrantfile

File dotfiles/.hgrc

 username = Paul McLanahan <paul@mclanahan.net>
 ssh = ssh -C
 ignore = ~/.hgignore
-editor = vim
+editor = /usr/bin/vim
 
 [diff]
 git = True

File dotfiles/.profile

     PATH="/usr/local/bin:${PATH}"
 fi
 
+if [ -d /usr/local/share/python ] ; then
+    PATH="/usr/local/share/python:${PATH}"
+fi
+
 if [ -d ~/.local/bin ]; then
     PATH="~/.local/bin:${PATH}"
 fi