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.
I agree. My
.zshrc
is littered with functions. Most useful ones are mypack
andextract
I made ~10 years ago, they just recognize file extension and use the correct tool.