mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-18 13:12:45 +08:00
Make xdg-version of open handle multiple files.
darcs-hash:20090216211103-ac50b-f8268e8d50a84457bb49ac3d1e982cba09dbfec6.gz
This commit is contained in:
parent
07717a3570
commit
8a93b6f26d
|
@ -15,7 +15,9 @@ if not test (uname) = Darwin
|
||||||
end
|
end
|
||||||
|
|
||||||
if type -f xdg-open >/dev/null
|
if type -f xdg-open >/dev/null
|
||||||
xdg-open $argv
|
for i in $argv
|
||||||
|
xdg-open $i
|
||||||
|
end
|
||||||
else
|
else
|
||||||
mimedb -l -- $argv
|
mimedb -l -- $argv
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user