mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 13:23:09 +00:00
9790907ca8
Historical behavior is to stop option parsing at the first non-option argument. Since we have added more options, it seemed impractical to keep that behavior. However people are using options in their abbr expansions ("abbr e emacs -nw"). To support this, we ignore options. However, we only ignore them if they are not valid "abbr" options. Let's ignore all options in the expansion definition, which is a small price to pay to keep most existing configurations working. Fixes #9410 This does not fix other cases which used to work, like abbr x -unknown Those are hopefully not used by anyone, so I don't think we need to maintain support for that. |
||
---|---|---|
.. | ||
checks | ||
pexpects | ||
test_functions | ||
.gitignore | ||
history_sample_bash | ||
history_sample_corrupt1 | ||
history_sample_fish_1_x | ||
history_sample_fish_2_0 | ||
interactive.config | ||
interactive.fish | ||
test.fish | ||
test_driver.sh | ||
test_env.sh | ||
test_util.fish |