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?

  • Ruminare
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    7
    ·
    22 days ago

    Try asking Google Gemini or chatgpt to write the code for you. Most will these days. Then you can refine it based on what you’re actually trying o achieve.

    • heavydust@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      22 days ago

      Great idea. That way you won’t learn anything and you will come back to Lemmy for every question you have. It’s no more RTFM, it’s “never RTFM lol.”

      • Ruminare
        link
        fedilink
        English
        arrow-up
        1
        ·
        22 days ago

        It’s called vibe coding. Get off your high horse.

        • heavydust@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          22 days ago

          Did you use another prompt to make that reply? Because it seems you didn’t understood my first answer.