From: Jer Noble Date: Fri, 24 May 2013 21:52:22 +0000 (-0700) Subject: Added subl support. X-Git-Url: http://105106.c2e0p.group/dotfiles.git/commitdiff_plain/c818eaf1d302d0e37654ba8f48c6cb0ded141e8b?hp=5a2aa4d6a19afcbc19ced19b67d2ad4f99b9de5a Added subl support. --- diff --git a/zsh_webkit_login b/zsh_webkit_login index 589a236..af71a2b 100644 --- a/zsh_webkit_login +++ b/zsh_webkit_login @@ -20,7 +20,9 @@ _switchto() { _arguments '1:dir:_webkit_dirs' } compdef _switchto switchto -if [[ $( has bbedit ) == 'yes' ]]; then +if [[ $( has subl ) == 'yes' ]]; then + export GUI_EDITOR="subl -w" +elif [[ $( has bbedit ) == 'yes' ]]; then export GUI_EDITOR="bbedit -w" elif [[ $( has mate_wait ) == 'yes' ]]; then export GUI_EDITOR="mate_wait"