mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 18:03:37 +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
|
||||
|
||||
if type -f xdg-open >/dev/null
|
||||
xdg-open $argv
|
||||
for i in $argv
|
||||
xdg-open $i
|
||||
end
|
||||
else
|
||||
mimedb -l -- $argv
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user