I want to run the previous command with part of it replaced. In bash, I can use the history expansion feature: ^x^y runs the previous command again, except with x replaced by y. I tried it in fish and it gave the following error:^x^yExpected a command, but instead found a redirectionAre there any ways to re-run a command with modifications in fish?
History expansion in fish
command history;replace;fish;history expansion