]> id.pley.net Git - dotfiles.git/commitdiff
Added subl support.
authorJer Noble <jer.noble@apple.com>
Fri, 24 May 2013 21:52:22 +0000 (14:52 -0700)
committerJer Noble <jer.noble@apple.com>
Fri, 24 May 2013 21:52:22 +0000 (14:52 -0700)
zsh_webkit_login

index 589a236360e9a01b1b3c002df03750d8ebb4ea85..af71a2b3e83464f57b91c14779feddd6a79293c7 100644 (file)
@@ -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"