mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-30 14:53:11 +00:00
56679d4776
Turns out this is also the case on Haiku. It also eliminates a fork. Closes #3487.
17 lines
633 B
Text
17 lines
633 B
Text
\section open open - open file in its default application
|
|
|
|
\subsection open-synopsis Synopsis
|
|
\fish{synopsis}
|
|
open FILES...
|
|
\endfish
|
|
|
|
\subsection open-description Description
|
|
|
|
`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.
|
|
|
|
Note that this function will not be used if a command by this name exists (which is the case on macOS or Haiku).
|
|
|
|
|
|
\subsection open-example Example
|
|
|
|
`open *.txt` opens all the text files in the current directory using your system's default text editor.
|