dotfiles /


# I like confirming destructive operations.
alias cp="cp -iv"
alias mv="mv -iv"
alias rm="rm -iv"
alias git=hub

# I have multiple Pythons, but I want pydoc to give me docs for 2.6.
#alias pydoc='pydoc2.6'

# Colored output from ls is nice, but the default color choices need
# work for use on a dark/partially transparent background. Directories
# stay blue but get bold, and symbolic links get bold cyan instead of
# magenta.
export CLICOLOR=1
export LSCOLORS="ExGxcxdxbxegedabagacad"

# Lots of path stuff because of all the random crap I have installed.
export PATH=/usr/bin:/usr/local/bin:$HOME/bin:$HOME/dev/git/django/django/bin:$HOME/dev/git/mozilla/git-tools:$PATH
export PYTHONPATH=$HOME/dev/python-local:$PYTHONPATH

# Hooray Emacs!
export EDITOR=emacs

# Prompt is not as complicated as the format string would
# suggest. This one does:
# (time) user@host:dir $
# with user/host in green and working directory cyan.
export PS1="(\[\e[0;37m\]\A\[\e[0;37m\]) \[\e[0;32m\]\u@\h\[\e[0;37m\]:\[\e[0;36m\]\w\[\e[0;37m\] \$ "

# Env variables and functions for virtualenvwrapper.
export WORKON_HOME=$HOME/dev/virtualenvs
. $HOME/bin/

# Some useful additional completion.
. $HOME/dev/git/django/extras/django_bash_completion
. $HOME/bin/hg_completion
. /usr/local/git/contrib/completion/git-completion.bash

# Rackspace management fun.
. $HOME/.secrets
. $HOME/bin/
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.