fish-shell/doc_src/open.txt

18 lines
633 B
Plaintext
Raw Normal View History

\section open open - open file in its default application
\subsection open-synopsis Synopsis
2014-08-01 20:25:41 +08:00
\fish{synopsis}
open FILES...
\endfish
\subsection open-description Description
2015-07-20 09:00:31 +08:00
`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.