Add some more hg aliases.
author |
Steve Losh <steve@stevelosh.com> |
date |
Sat, 31 Oct 2009 00:44:39 -0400 |
parents |
dbb742acfde1 |
children |
d190eacb58c6 |
alias ls='ls -Goh '
alias less='less -R '
alias hl='less -R'
alias pm='python manage.py '
alias oo='open .'
alias flakes="find . -name '*.py' -print0 | xargs -0 pyflakes"
alias fab='fab -i ~/.ssh/stevelosh'
alias tweets-stevelosh='~/src/grabtweets/grabtweets.py -p ~/Documents/tweets/stevelosh'
alias meme="curl -q --silent meme.boxofjunk.ws/moar.txt?lines=1"
alias hyde='python /Users/sjl/lib/virtualenvs/hyde-site/lib/hyde/hyde.py'
alias deact='deactivate'
bind 'set completion-ignore-case on'
bind 'set show-all-if-ambiguous on'
bind 'set visible-stats on'
shopt -s cdspell
# Environment variables ------------------------------------------------------
export EDITOR='vim'
export PATH="/usr/local/bin:~/lib/fmscripts:${PATH}"
export WORKON_HOME="${HOME}/lib/virtualenvs"
export GREP_OPTIONS='--color=auto'
export HISTSIZE=1000
export HISTFILESIZE=1000
export HISTCONTROL=erasedups
export JPY="${HOME}/lib/j2/j.py"
export PYTHONSTARTUP="$HOME/.pythonrc.py"
export COMMAND_MODE=unix2003
export R_LIBS="$HOME/lib/r"
# Extra shell extensions like j and tab completion for Mercurial -------------
source ~/lib/j2/j.sh
source ~/lib/hg/bash_completion
source ~/lib/virtualenvwrapper_bashrc
# Separate stuff -------------------------------------------------------------
source ~/.bash/mercurial
source ~/.bash/subversion
source ~/.bash/tasks
source ~/.bash/pip
source ~/.bash/prompt
# Homebrew -------------------------------------------------------------------
export PATH=`brew --prefix`/bin:$PATH
export MANPATH=`brew --prefix`/share/man:$MANPATH
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
# Useful functions -----------------------------------------------------------
wo() {
[ -f './.venv' ] && workon `cat ./.venv`
}
# Gorilla --------------------------------------------------------------------
export PATH="~/src/gorilla/bin:$PATH"
export PYTHONPATH="/Users/sjl/src/gorilla/lib:$PYTHONPATH"