MyNixOS website logo
option

programs.fish.functions.<name>.onSignal

Tells fish to run this function when the specified signal is delivered. The signal can be a signal number or signal name.

Declarations
    Type
    null or string or signed integer
    Default
    null
    Example
    [
      "SIGHUP"
      "HUP"
      1
    ]