From: Jer Noble Date: Tue, 22 May 2012 18:02:49 +0000 (-0700) Subject: Added switchto() function to switch between webkit checkout. X-Git-Url: http://id.pley.net/dotfiles.git/commitdiff_plain/39f7b4670d7eb8eacad7713aae3fd42ce487761a?hp=25bfdff2cb6ecc3c4a695fd032bb1e5f6c4c65ff Added switchto() function to switch between webkit checkout. --- diff --git a/.webkit_login b/.webkit_login index 44454bd..477be0c 100644 --- a/.webkit_login +++ b/.webkit_login @@ -1,6 +1,10 @@ #!/bin/bash -export WEBKIT_DIR=~/Projects/WebKit.git +export WEBKIT_DIR=~/Projects/WebKit.PuzzleBox if [[ -f ${WEBKIT_DIR}/webkitenv ]]; then source ${WEBKIT_DIR}/webkitenv fi + +function switchto() { + source ~/Projects/WebKit.$1/webkitenv +}