i’m trying to basically make a shortcut for krabby (see link) so i dont have to type <krabby name (pokemon name)> to see a specified pokemon. basically how can i make a script that passes the <command> and <option> to the output of what i type next?

  • Arrow@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    16 days ago

    this sounds like something you can do by setting up a command alias as well:

    alias [pokemon name] = ‘[command and options go here]’

    i.e. alias update=‘sudo apt-get update && sudo apt-get upgrade -y’

    or in your case: alias pikachu = ‘krabby name pikachu’