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.

  • nycki@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    14 hours ago

    this is my sticking point with fish. I still need to know bash for writing portable scripts, so its hard to justify scripting in fish.