aboutsummaryrefslogtreecommitdiffhomepage
path: root/init/functions/open.fish
blob: 9e61f2362624439950a4eccea70283fa7a021c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12

#
# 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