mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-23 20:37:57 +08:00

This `set -e` had a cartesian product that caused it to remove the indexes separately, so the later indexes were off - removing the first and then the second ends up removing the first and then the old-*third* which is now the second. Just quote the expansion so it runs in one go. Fixes #7776