mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 10:51:15 -03:00
Make xdg-version of open handle multiple files.
darcs-hash:20090216211103-ac50b-f8268e8d50a84457bb49ac3d1e982cba09dbfec6.gz
This commit is contained in:
@@ -15,7 +15,9 @@ if not test (uname) = Darwin
|
||||
end
|
||||
|
||||
if type -f xdg-open >/dev/null
|
||||
xdg-open $argv
|
||||
for i in $argv
|
||||
xdg-open $i
|
||||
end
|
||||
else
|
||||
mimedb -l -- $argv
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user