aboutsummaryrefslogtreecommitdiffhomepage
path: root/init/functions/open.fish
blob: bfe0f99e1c17d07bdb5753d0307c900e741479a3 (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