• Pankkake@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    7 days ago

    Bonus fact: ${BASH_ALIASES["name-here"]} is a way to get at the contents of an alias without resorting sed or cut shenanigans on the output of the alias command.

    Doesn’t alias name-here already do that? That or I didn’t get what you mean.