fish-shell/sphinx_doc_src/cmds/open.rst
David Adam 02d82dcf85 docs: update all command synopsis formatting
Adds synopses for those commands missing them.

Moves all synopsis sections to code blocks. This improves the appearance, although highlighting as
fish code may not be the ideal appearance.
2019-09-17 17:59:04 +08:00

25 lines
620 B
ReStructuredText

.. _cmd-open:
open - open file in its default application
===========================================
Synopsis
--------
::
open FILES...
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).
Example
-------
``open *.txt`` opens all the text files in the current directory using your system's default text editor.