Darwin Open

Tweak the open function to use /usr/bin/open on Darwin, and mimedb on everything else.

darcs-hash:20060206012623-494f2-e4626c03895065837f0c8981482d5b16313dfc08.gz
This commit is contained in:
Nicholas Pilon 2006-02-06 11:26:23 +10:00
parent bde5921258
commit 04ce9ecf16

View file

@ -176,7 +176,11 @@ end
#
function open -d "Open file in default application"
mimedb -l -- $argv
if test (uname) = Darwin
open $argv
else
mimedb -l -- $argv
end
end
#