From bash to zsh and everywhere in between, show me yours and I’ll show you mines. Inspire others or get some feedback.

Simply copy & paste the output of alias in your terminal or add some comments to explain things for others.

Edit: Kbin users, click ‘More’ on a comment and use the fediverse link to read responses that have funky formatting

  • iHUNTcriminals@lemm.ee
    link
    fedilink
    arrow-up
    21
    ·
    edit-2
    1 year ago

    What… I didn’t know this was a thing.

    So I could make be “sudo gimme-dat-new-new” Instead of “sudo DNF upgrade -y”

    • s20@lemmy.ml
      link
      fedilink
      arrow-up
      10
      ·
      edit-2
      1 year ago

      alias gimmie-dat-new-new='sudo dnf upgrade -y'

      Although you should probably look over your upgrade before applying it as a general good practice. But, hey, I do this myself (dnfup instead of gimmie-dat-etc.), so I can’t talk too much shit.

      ETA: If you want it to be a persistent alias, though, you gotta add it to your .bashrc