fish-shell/sphinx_doc_src/cmds/open.rst
Fabian Homborg cf9b8fa3fa docs: Add labels to all commands
This allows us to use :ref: references, which don't require hardcoding
it as html

[ci skip]
2019-03-31 11:05:33 +02:00

23 lines
612 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.