mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 07:05:42 +08:00

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
3 lines
16 B
Plaintext
3 lines
16 B
Plaintext
ran foo
|
|
foo ran
|