mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 02:23:36 +08:00

This ports some signal setup and handling bits to Rust. The signal handling machinery requires walking over the list of known signals; that's not supported by the Signal type. Rather than duplicate the list of signals yet again, switch back to a table, as we had in C++. This also adds two further pieces which were neglected by the Signal struct: 1. Localize signal descriptions 2. Support for integers as the signal name