diff options
author | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2015-07-20 09:00:31 +0800 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2015-07-23 14:26:38 +0800 |
commit | 6add8a7df90899e28d317b399e1196a56f24fbb6 (patch) | |
tree | 100c1ec403c0f81b96d51703a681282eb9a59a53 | |
parent | 7fa69ef8bed3511d3b1bb5bf46fa0281f61b43aa (diff) |
open: drop mimedb dependency
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | doc_src/open.txt | 2 | ||||
-rw-r--r-- | share/functions/open.fish | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/debian/control b/debian/control index 68f7aad2..031dbf46 100644 --- a/debian/control +++ b/debian/control @@ -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 diff --git a/doc_src/open.txt b/doc_src/open.txt index 85e91e72..c81c3c9a 100644 --- a/doc_src/open.txt +++ b/doc_src/open.txt @@ -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 diff --git a/share/functions/open.fish b/share/functions/open.fish index 7a1e7bce..7a9b1e39 100644 --- a/share/functions/open.fish +++ b/share/functions/open.fish @@ -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 |