mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 07:35:43 +08:00

The builtin function returns the raw status, which is not the same as the integer return by waitpid. Therefore, the WIF macros shouldn't be used for checking or obtaining the status. This bug can be seen by executing (eval false). The builtin eval function returns 1, but proc_format_status misinterprets it as a signal by checking WIFSIGNALED, so adds 128 to the status to return 129. Signed-off-by: Grissiom <chaos.proton@gmail.com>
How to find documentation for fish ================================== The fish documentation is distributed in an intermediate format. To view it, you have to type: % make user_doc Which will create the directory user_doc, containing html documentation for fish. If you build and install fish, the documentation will be available through the 'help' builtin. After installation, you can start fish by typing fish in the terminal. After fish has started, try using the help command for more information.
Languages
Rust
71.3%
Shell
19.5%
Python
5.8%
CMake
1.4%
JavaScript
0.5%
Other
1.2%