mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 14:31:09 +08:00

Use string split instead of cut - which we'd fork for 2*signal count times in a loop when tab was first pressed. Noticably faster If giving a signal num, what works everywhere is -NUM, if giving a signal name, what works everywhere is -s NAME - don't show -sNUM or -NAME completions; that only works on GNU and it's redundant anyhow as we show the signal number in the description field for -s or the signal name for the -NUM case in the pager. Sort -sNAME completions by the signal number not alphabetical Shorten descriptions