Skip to content

Comment on Fish Shell 3.5.0parent

Comments

I used fish for a long time, but lost patience with the incompatibility with other shells. It’s nice to be able to just paste and run someone else’s command, and I eventually tired of having to rewrite every command to use fish syntax. For example, replacing FOO= with set - x … The reverse is even worse—if I need to send someone a command to run, I have to rewrite it in a syntax that’s likely to work when they run it. It only takes a few seconds each time but I grew weary of it.

That’s accepted now, and was always available by prepending env.

They have improved compatibility a lot.

Also, you could do what I do: leave bash or something else as the default, and then just run fish manually.

Then if I have a problem pasting or something I run type exit.

But the incompatibilities are a lot less now.

You can just do `bash -c "CMD"`.

occasionally you'll need to run a command which sources or exports… it's no silver bullet in my experience anyway

Check out fish-foreign-env, bass, and babelfish

create a key-binding to invoke your terminal with bash. I have not set fish as my system shell (aka chsh)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.