Commit 13582d8d authored by Jonathan Knapp's avatar Jonathan Knapp

test that application exists before trying to call it

parent 1321ddc8
function subl --description 'Open Sublime Text 2' function subl --description 'Open Sublime Text 2'
"/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" $argv if test -d "/Applications/Sublime Text 2.app"
"/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" $argv
end
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment