mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 11:31:15 -03:00
harden alias against foo; bar
If the first word of the alias body ends with a semicolon we need to strip that character, and otherwise escape the extracted command, to ensure the subsequent function definition is valid. Fixes #3860
This commit is contained in: