by nikivi · 4y ago · 0 comments
Is there any reason to use Zsh at this point over Fish?
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.
Fish doesn't have anything like that, there are a few workaround, but none of them are (in my opinion) anywhere near as nice.
pushd /my/path && command && popd
Both in bash AND in fish! with mydir make
Although you'd want to be able to write things like with mydir make && ./bin/myprog
and parse everything to the right of `mydir' as a shell pipeline. That might be the sticking point in fish. exec bash
<paste some bash>
exec fishfish: Invalid redirection target: yq3 r <(kubectl get nodes -o yaml)