![]() |
![]()
| ![]() |
![]()
NAMEfish_status_to_signal - convert exit codes to human-friendly signals SYNOPSISfish_status_to_signal NUM function fish_prompt DESCRIPTIONfish_status_to_signal converts exit codes to their corresponding human-friendly signals if one exists. This is likely to be useful for prompts in conjunction with the $status and $pipestatus variables. EXAMPLE>_ sleep 5 ^C⏎ >_ fish_status_to_signal $status SIGINT COPYRIGHT2024, fish-shell developers
|