• tmpod@lemmy.pt
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    Yup, aliases are super useful! One of my most used ones is mkcd; you almost always want to cd into a dir after you make it.

    I also like fish’s abbreviations (created through abbr), which are essentially aliases that get expanded when you run them. For example, if I set an abbreviation with abbr -a dkc docker-compose, I can then just type dkc and it will expand it to the full command when I either hit enter or space.