mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +00:00
73a9c8bcb8
darcs-hash:20060208092005-ac50b-8e784f79a4e158c8c15b553fad85002dccc7bd03.gz
12 lines
223 B
Fish
12 lines
223 B
Fish
|
|
#
|
|
# This allows us to use 'open FILENAME' to open a given file in the default
|
|
# application for the file.
|
|
#
|
|
|
|
if not test (uname) = Darwin
|
|
function open -d "Open file in default application"
|
|
mimedb -l -- $argv
|
|
end
|
|
end
|
|
|