X-Git-Url: http://id.pley.net/dotfiles.git/blobdiff_plain/5a2aa4d6a19afcbc19ced19b67d2ad4f99b9de5a..c818eaf1d302d0e37654ba8f48c6cb0ded141e8b:/zsh_webkit_login?ds=sidebyside 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"