mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-19 19:55:14 +08: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
|
||
|
|