Fish freezes while entering certain commands
Fish version: 4.8.1 Operating system: Arch Linux (stable kernel 7.1.8) Terminals tried (issue occurs on all): Foot, Kitty, WezTerm
Fish freezes when running 'wpctl set-mute X' (where X is 1-4 characters of any sort). This issue does not occur with other shells. To elaborate on the phrase "where X is 1-4 characters of any sort", the amount of characters that will cause the freeze appears to be pretty random, but deterministic. For instance '1000' will cause a crash, '88' '8988' will cause a crash, 'a' will cause a crash, etc. Sometimes it occurs even earlier, like at 'wpctl setm'. Hitting ctrl+c does not clear the input, but fixes the freeze, after which the freeze will no longer occur until fish is restarted.
Running the following command like the description template said seems to cause the freeze to happen earlier (at 'wpctl' instead of 'wpctl set-mute XX'). sh -c 'env HOME=$(mktemp -d) XDG_CONFIG_HOME= XDG_DATA_DIRS= fish'
Source: fish-shell/fish-shell