fish-shell/doc_src/cmds/open.rst
Johannes Altmanninger ad4530acd3 docs synopses: add space before ellipsis
This matches the style in man(1) (except that we use the … ligature).

A previous iteration did the reverse (never use a space before the
ellipsis). That would be a smaller change.
2022-01-16 14:05:47 +01:00

24 lines
619 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.