fish-shell/doc_src/cmds/true.rst

24 lines
351 B
ReStructuredText

.. _cmd-true:
true - return a successful result
=================================
Synopsis
--------
.. synopsis::
true
Description
-----------
``true`` sets the exit status to 0.
**:** (a single colon) is an alias for the ``true`` command.
See Also
--------
- :ref:`false <cmd-false>` command
- :ref:`$status <variables-status>` variable