mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
Copy doc_src to sphinx_doc_src and add a TOC
This commit is contained in:
17
sphinx_doc_src/cmds/open.rst
Normal file
17
sphinx_doc_src/cmds/open.rst
Normal file
@@ -0,0 +1,17 @@
|
||||
\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.
|
||||
Reference in New Issue
Block a user