mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
21 lines
597 B
ReStructuredText
21 lines
597 B
ReStructuredText
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.
|