• Gamma@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    type -p is a shell builtin though, and one character shorter :)

    Although you may prefer tool=$(command -v tool)