3 ms·
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, an
by medler 4y ago
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.
- Starlevel001 4y agoYou can just do `bash -c "CMD"`.
- tomjakubowski 4y agooccasionally you'll need to run a command which sources or exports… it's no silver bullet in my experience anyway
- pxc 4y agoCheck out fish-foreign-env, bass, and babelfish
- mixmastamyk 4y agoThat’s accepted now, and was always available by prepending env.
- ducktective 4y agocreate a key-binding to invoke your terminal with bash. I have not set fish as my system shell (aka chsh)
- ilaksh 4y agoThey 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.