2008-06-05 19:23:05 +00:00
\section open open - open file in its default application
2005-09-20 13:31:55 +00:00
\subsection open-synopsis Synopsis
2014-08-01 12:25:41 +00:00
\fish{synopsis}
2014-08-01 02:37:32 +00:00
open FILES...
\endfish
2005-09-20 13:31:55 +00:00
\subsection open-description Description
2015-07-20 01:00:31 +00:00
`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.
2005-09-20 13:31:55 +00:00
2016-10-26 13:48:42 +00:00
Note that this function will not be used if a command by this name exists (which is the case on macOS or Haiku).
2014-08-19 12:41:23 +00:00
2005-09-20 13:31:55 +00:00
\subsection open-example Example
2014-08-01 02:37:32 +00:00
`open *.txt` opens all the text files in the current directory using your system's default text editor.