mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-20 06:44:33 +08:00

Making `true` into a builtin is a significant optimization to `while true` loops. As long as `true` is a builtin, we may as well make `false` builtin as well (despite the fact that it's not typically executed in a loop).
11 lines
191 B
Plaintext
11 lines
191 B
Plaintext
\section true true - return a successful result
|
|
|
|
\subsection true-synopsis Synopsis
|
|
\fish{synopsis}
|
|
true
|
|
\endfish
|
|
|
|
\subsection true-description Description
|
|
|
|
`true` sets the exit status to 0.
|