# HG changeset patch # User Steve Losh # Date 1302186140 14400 # Node ID 40da0a59288f6aee294216078334cb7dcfbcd003 # Parent ca5f87ce70835fe51e4506aadb706c0f50fd19e8 zsh: start wrapping hd up diff -r ca5f87ce7083 -r 40da0a59288f .zshrc --- a/.zshrc Wed Apr 06 13:50:33 2011 -0400 +++ b/.zshrc Thu Apr 07 10:22:20 2011 -0400 @@ -3,8 +3,12 @@ export DISABLE_AUTO_UPDATE="true" export OH_MY_ZSH_DEBUG="true" plugins=(command-coloring pip fabric) + +#test -f "$HOME/src/hgd/hd" && export OH_MY_ZSH_HG="$HOME/src/hgd/hd" || export OH_MY_ZSH_HG='hg' + source $ZSH/oh-my-zsh.sh + # Custom options ------------------------------------------------------------- unsetopt promptcr @@ -29,7 +33,6 @@ export COMMAND_MODE=unix2003 export RUBYOPT=rubygems export CLASSPATH="$CLASSPATH:/usr/local/Cellar/clojure-contrib/1.2.0/clojure-contrib.jar" -which vimpager >/dev/null 2>&1 && export PAGER=vimpager || export PAGER=less # Python variables ----------------------------------------------------------- export PIP_DOWNLOAD_CACHE="$HOME/.pip/cache" diff -r ca5f87ce7083 -r 40da0a59288f zsh/misc.zsh --- a/zsh/misc.zsh Wed Apr 06 13:50:33 2011 -0400 +++ b/zsh/misc.zsh Thu Apr 07 10:22:20 2011 -0400 @@ -62,7 +62,7 @@ export PATH="/opt/subversion/bin:$PATH" # hgd -alias h='~/src/hgd/hd' +test -f "$HOME/src/hgd/hd" && alias h='~/src/hgd/hd' || alias h=hg # What the hell did I do the other day? function whatthehelldididoon() {