mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-08 16:21:16 -03:00
Incorporate most new doc changes since branch
Adds most documentation changes since 72c0213d42
This commit is contained in:
@@ -16,7 +16,7 @@ The following options are available:
|
||||
|
||||
- ``-a`` or ``--all`` returns all the external commands that are found in ``$PATH`` in the order they are found.
|
||||
|
||||
- ``-q`` or ``--quiet``, in conjunction with ``-s``, silences the output and prints nothing, setting only the exit code.
|
||||
- ``-q`` or ``--quiet``, silences the output and prints nothing, setting only the exit code. Implies ``--search``.
|
||||
|
||||
- ``-s`` or ``--search`` returns the name of the external command that would be executed, or nothing if no file with the specified name could be found in the ``$PATH``.
|
||||
|
||||
@@ -31,4 +31,4 @@ Examples
|
||||
|
||||
``command -s ls`` returns the path to the ``ls`` program.
|
||||
|
||||
``command -sq git; and command git log`` runs ``git log`` only if ``git`` exists.
|
||||
``command -q git; and command git log`` runs ``git log`` only if ``git`` exists.
|
||||
|
||||
Reference in New Issue
Block a user