From c818eaf1d302d0e37654ba8f48c6cb0ded141e8b Mon Sep 17 00:00:00 2001 From: Jer Noble Date: Fri, 24 May 2013 14:52:22 -0700 Subject: [PATCH 1/1] Added subl support. --- zsh_webkit_login | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" -- 2.40.1