mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-23 10:51:14 -03:00
No need to define "cmd-foo" anchors; use :doc:`foo <cmds/foo>`
instead. If we want "cmd-foo" but it should be tested.
See also 38b24c2325 (docs: Use :doc: role when linking to commands,
2022-09-23).
24 lines
617 B
ReStructuredText
24 lines
617 B
ReStructuredText
open - open file in its default application
|
|
===========================================
|
|
|
|
Synopsis
|
|
--------
|
|
|
|
.. 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.
|