mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 14:01:20 -03:00
Add $fish_kill_signal to track the signal that terminated a command.
Set to `0` if the command exited normally.
This commit is contained in:
committed by
Johannes Altmanninger
parent
67eaefeb82
commit
61a9cdaa74
@@ -1059,6 +1059,8 @@ The user can change the settings of ``fish`` by changing the values of certain v
|
||||
|
||||
- ``pipestatus``, a list of exit statuses of all processes that made up the last executed pipe.
|
||||
|
||||
- ``fish_kill_signal``, the signal that terminated the previous command, or `0` if the command exited normally.
|
||||
|
||||
- ``USER``, the current username. This variable can be changed by the user.
|
||||
|
||||
- ``CMD_DURATION``, the runtime of the last command in milliseconds.
|
||||
|
||||
Reference in New Issue
Block a user