• bamboo@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      This is always my concern with creating git aliases, and find it’s just as easy to use the reverse search in shell to find git commit -a --amend --no-edit rather than make up an alias which just works on one machine. Also, a lot of the time I’m sharing my screen or sending the output to someone, and don’t want to have to explain what gcane means.

      I do like the syntax highlighting plugin, that was new to me.

    • priapus@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      1 year ago

      Its not hard to copy your aliases to other machines. All my machines run NixOS, so they all have my home manager config. I would assume you could easily copy shell configs with tools like ansible as well. For aliases it’s as simple as copying your .bashrc over.

      At my last job where I was regularly doing this, every user had a home directory that would be mounted onto any server we accessed, so all of us could have whatever shell customizations we’d like.