mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 18:03:37 +08:00
d67800bbce
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.
|