by CJefferson · 4y ago · 0 comments
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.