diff --git a/plugins/sublime/subl.fish b/plugins/sublime/subl.fish index 098c6e4..fc5e18a 100644 --- a/plugins/sublime/subl.fish +++ b/plugins/sublime/subl.fish @@ -3,6 +3,10 @@ function subl --description 'Open Sublime Text' "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" $argv else if test -d "/Applications/Sublime Text 2.app" "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" $argv + else if test -d "$HOME/Applications/Sublime Text.app" + eval "$HOME/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl" $argv + else if test -d "$HOME/Applications/Sublime Text 2.app" + eval "$HOME/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl" $argv else if test -x "/opt/sublime_text/sublime_text" "/opt/sublime_text/sublime_text" $argv else if test -x "/opt/sublime_text_3/sublime_text"