I’ve done something similiar to this over the years for organization purposes and not having to change much between shells except add a path. You can also add cases that check your shell and do something slightly different if needed.
I’ve done something similiar to this over the years for organization purposes and not having to change much between shells except add a path. You can also add cases that check your shell and do something slightly different if needed.
No issues except that if you want to source files to set env vars you might have to use a plugin (foreignenv in my case)
I still write scripts in bash. But fish’s command completion is incredible. Idk, maybe other shells can be that good as well, but fish does out of the box.