Been meaning to move fully to Fish, was just dreading the amount of zsh functions I'd have to rewrite.
Is there any reason to use Zsh at this point over Fish?
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.
set output (echo captured)
echo $output
> captured
And if you wanna run a command in another dir: pushd other_dir
run_command
popd 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. pushd /my/path && command && popd
Both in bash AND in fish! exec bash
<paste some bash>
exec fishfish: Invalid redirection target: yq3 r <(kubectl get nodes -o yaml)