mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 12:41:08 +08:00
open: drop mimedb dependency
This commit is contained in:
parent
7fa69ef8be
commit
6add8a7df9
2
debian/control
vendored
2
debian/control
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user