mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 13:23:09 +00: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).
10 lines
191 B
Text
10 lines
191 B
Text
\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.
|