mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-27 12:15:08 +00:00
fix help for open
darcs-hash:20080605192305-6c1c4-ccf59a87bf7197b5d07a33d7aaeb31638aa0aa52.gz
This commit is contained in:
parent
41015691db
commit
9b95dda6bf
2 changed files with 4 additions and 4 deletions
|
@ -1,12 +1,12 @@
|
||||||
\section open open - open file in it's default application
|
\section open open - open file in its default application
|
||||||
|
|
||||||
\subsection open-synopsis Synopsis
|
\subsection open-synopsis Synopsis
|
||||||
<tt>open FILES...</tt>
|
<tt>open FILES...</tt>
|
||||||
|
|
||||||
\subsection open-description Description
|
\subsection open-description Description
|
||||||
|
|
||||||
The \c open command is used to open a file in it's default application. \c open is implemented using the <a href="commands.html#mimedb">mimedb</a> command.
|
The \c open command is used to open a file in its default application. \c open is implemented using the \c xdg-open command if it exists, or else the <a href="commands.html#mimedb">mimedb</a> command.
|
||||||
|
|
||||||
\subsection open-example Example
|
\subsection open-example Example
|
||||||
|
|
||||||
<tt>open *.txt</tt> opens all the text files in the current directory using your systems default text editor.
|
<tt>open *.txt</tt> opens all the text files in the current directory using your system's default text editor.
|
||||||
|
|
|
@ -9,7 +9,7 @@ if not test (uname) = Darwin
|
||||||
if count $argv >/dev/null
|
if count $argv >/dev/null
|
||||||
switch $argv[1]
|
switch $argv[1]
|
||||||
case -h --h --he --hel --help
|
case -h --h --he --hel --help
|
||||||
__fish_print_help dirh
|
__fish_print_help open
|
||||||
return 0
|
return 0
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue