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.

  • BeardedGingerWonder@feddit.uk
    link
    fedilink
    English
    arrow-up
    4
    ·
    18 hours ago

    Mostly because there’s a profile everyone sources that’s relatively straightforward to that’s straightforward to get access to. Whereas I’d never get root level access.