diff options
author | axel <axel@liljencrantz.se> | 2009-02-17 07:11:03 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2009-02-17 07:11:03 +1000 |
commit | 8a93b6f26db4626e8f107a4f30aa20e3268581be (patch) | |
tree | 636f8ad2106109a7aebbea7201db96b911bc646b /share/functions/open.fish | |
parent | 07717a35702465c96581e6f1c505a0b754f48867 (diff) |
Make xdg-version of open handle multiple files.
darcs-hash:20090216211103-ac50b-f8268e8d50a84457bb49ac3d1e982cba09dbfec6.gz
Diffstat (limited to 'share/functions/open.fish')
-rw-r--r-- | share/functions/open.fish | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/functions/open.fish b/share/functions/open.fish index 4b764d75..885079e1 100644 --- a/share/functions/open.fish +++ b/share/functions/open.fish @@ -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 |