open: drop mimedb dependency

This commit is contained in:
David Adam 2015-07-20 09:00:31 +08:00
parent 7fa69ef8be
commit 6add8a7df9
3 changed files with 3 additions and 3 deletions

2
debian/control vendored
View File

@ -12,7 +12,7 @@ Vcs-Browser: https://github.com/fish-shell/fish-shell
Package: fish
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, passwd (>= 4.0.3-10), bc, gettext-base, man-db
Recommends: python (>=2.6), xsel (>=1.2.0)
Recommends: python (>=2.6), xsel (>=1.2.0), xdg-utils
Description: friendly interactive shell
Fish is a command-line shell for modern systems, focusing on user-friendliness,
sensibility and discoverability in interactive use. The syntax is simple, but

View File

@ -7,7 +7,7 @@ open FILES...
\subsection open-description Description
`open` opens a file in its default application, using the `xdg-open` command if it exists, or else the <a href="commands.html#mimedb">mimedb</a> command.
`open` opens a file in its default application, using the appropriate tool for the operating system. On GNU/Linux, this requires the common but optional `xdg-open` utility, from the `xdg-utils` package.
\subsection open-example Example

View File

@ -23,7 +23,7 @@ if not test (uname) = Darwin
xdg-open $i
end
else
mimedb -l -- $argv
echo (_ 'No open utility found. Try installing "xdg-open" or "xdg-utils".')
end
end
end