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

Prior to this fix, __fish_describe_command would error if the input contained any special characters, because it would be interpolated into a regex. Hack in a guard to do nothing if the input contains anything other than [a-zA-Z0-9_ ]