mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 08:41:27 +08:00
cf9b8fa3fa
This allows us to use :ref: references, which don't require hardcoding it as html [ci skip]
34 lines
572 B
ReStructuredText
34 lines
572 B
ReStructuredText
.. _cmd-builtin:
|
|
|
|
builtin - run a builtin command
|
|
===============================
|
|
|
|
Synopsis
|
|
--------
|
|
|
|
builtin [OPTIONS...] BUILTINNAME
|
|
builtin --query BUILTINNAMES...
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
``builtin`` forces the shell to use a builtin command, rather than a function or program.
|
|
|
|
The following parameters are available:
|
|
|
|
- ``-n`` or ``--names`` List the names of all defined builtins
|
|
- ``-q`` or ``--query`` tests if any of the specified builtins exists
|
|
|
|
|
|
Example
|
|
-------
|
|
|
|
|
|
|
|
::
|
|
|
|
builtin jobs
|
|
# executes the jobs builtin, even if a function named jobs exists
|
|
|