mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
13 lines
223 B
Fish
13 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
|
||
|
|