From 589397e8ba9ae862c841ac6c075207efe1dc355e Mon Sep 17 00:00:00 2001 From: Jer Noble Date: Sun, 1 Sep 2013 09:29:42 -0700 Subject: [PATCH 1/1] Added CDPATH variable. --- ssh_config | 2 +- zsh_login | 2 ++ zsh_webkit_login | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ssh_config b/ssh_config index 09964c1..9a1e14e 100644 --- a/ssh_config +++ b/ssh_config @@ -1,2 +1,2 @@ -Host newmail.pley.net mail.pley.net db.pley.net web.pley.net git.pley.net +Host newmail.pley.net mail.pley.net db.pley.net web.pley.net git.pley.net mx.pley.net User ec2-user diff --git a/zsh_login b/zsh_login index b2d2987..459dfc8 100644 --- a/zsh_login +++ b/zsh_login @@ -45,5 +45,7 @@ export MANPATH=~/man:$MANPATH export EDITOR=/usr/bin/vim export LSCOLORS=gxfxcxdxbxegedabagacad +export CDPATH=~ + source ~/.dotfiles/zsh_aliases source ~/.dotfiles/zsh_webkit_login diff --git a/zsh_webkit_login b/zsh_webkit_login index af71a2b..5e949cb 100644 --- a/zsh_webkit_login +++ b/zsh_webkit_login @@ -5,9 +5,11 @@ switchto() { export WEBKIT_DIR=~/Projects/WebKit.$1 export WEBKIT_OUTPUTDIR=$WEBKIT_DIR/OpenSource/WebKitBuild if [[ "$OLD_WEBKIT_DIR" == "" ]]; then - export PATH=$PATH:$WEBKIT_DIR/OpenSource/Tools:$WEBKIT_DIR/OpenSource/Tools/Scripts:$WEBKIT_DIR/Internal/Tools/Scripts + export PATH=$PATH:$WEBKIT_DIR/Internal/Tools/Scripts:$WEBKIT_DIR/OpenSource/Tools:$WEBKIT_DIR/OpenSource/Tools/Scripts + export CDPATH=$CDPATH:$WEBKIT_DIR/OpenSource:$WEBKIT_DIR/OpenSource/Source:$WEBKIT_DIR/Internal else export PATH=$(echo $PATH | sed -e "s;$OLD_WEBKIT_DIR;$WEBKIT_DIR;g") + export CDPATH=$(echo $CDPATH | sed -e "s;$OLD_WEBKIT_DIR;$WEBKIT_DIR;g") fi export OLD_WEBKIT_DIR= -- 2.40.1