• Eager Eagle
    link
    English
    698 months ago

    every command he runs is an alias

    rookie, most commands grow into functions because they become too complicated to stay as alias

    • @TootSweet
      link
      English
      15
      edit-2
      8 months ago

      Aliases are for the weak. Memorize and type out the whole one-liner, wuss.

      “I don’t remember how to do that. Let me go check my .bashrc.” Literal clowning, smh.

      • @[email protected]
        link
        fedilink
        5
        edit-2
        8 months ago

        My .bashrc sources a functions and alias file, noob. With a function that parses functions!

      • Ace! _SL/S
        link
        fedilink
        28 months ago

        “I don’t remember how to do that. Let me go check my .bashrc.”

        Literally never happens thanks to atuin

    • @9point6
      link
      88 months ago

      Then you make aliases of common arguments for those functions, duh

    • DarkSirrush
      link
      fedilink
      58 months ago

      Hell, my docker compose alias is a function now because I can’t be assed to cd to my compose folder before running compose, and wanted to be able to still choose if I -d and/or what containers I wanted to start/stop.

    • @devfuuu
      link
      2
      edit-2
      8 months ago

      So this is why alias in fish are literally functions…