mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 04:13:08 +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.
|