fish-shell/share/functions/open.fish

13 lines
228 B
Fish
Raw Normal View History

#
# 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 (N_ "Open file in default application")
mimedb -l -- $argv
end
end