diff options
Diffstat (limited to 'share/functions/open.fish')
-rw-r--r-- | share/functions/open.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/functions/open.fish b/share/functions/open.fish index 63d56237..7a1e7bce 100644 --- a/share/functions/open.fish +++ b/share/functions/open.fish @@ -14,11 +14,11 @@ if not test (uname) = Darwin end end - if type -f cygstart >/dev/null + if type -q -f cygstart for i in $argv cygstart $i end - else if type -f xdg-open >/dev/null + else if type -q -f xdg-open for i in $argv xdg-open $i end |