Using bash's "!:s/foo/bar" in fish terminal

Hello Garuda users,
I am pretty new to fish and linux community as a whole and while using bash on ubuntu I got addicted to the history command especially the part where you can edit the last command with sed like so: !:s/text/tochange. But switching in to garuda with default fish terminal I just can't use this command.

Is there a workaround to this? Preferably one where I don't have to just resort to using bash again. I tried googling it but maybe I didn't use the right keywords I just can't even find this command on google. Almost as if it's not even documented. Please help me out :pray::pray:.

Probably not possible...:
https://fishshell.com/docs/current/faq.html#why-doesn-t-history-substitution-etc-work

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.