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

  • darcy
    link
    178 months ago

    vim grindset 💪

    alias q=exit
    alias :q=exit
    alias :wq=exit
    
      • Gamma
        link
        fedilink
        English
        38 months ago

        That would make my shell unusable, since some plugins use ./source.

          • Gamma
            link
            fedilink
            English
            2
            edit-2
            8 months ago

            I know; I’m not talking about ./. I put the slash outside the inline codeblock in the parent comment.

            My shell is setup with a chdir hook to [[ -r. /.autoenv.zsh ]] && . ./.autoenv.zsh.

            (Edit: Jerboa is bugged with “&” in codeblocks, that should be a “&&”, not &&)

            • @[email protected]
              link
              fedilink
              28 months ago

              Ah, ok. For me it was an alias common in the university labs back on Ultrix. Became a habit way back then.

    • @[email protected]
      link
      fedilink
      28 months ago

      I have :q to exit too since i was trying to exit shell with :q. I guess (n)vim users cant exit their shells :)

      • darcy
        link
        28 months ago

        we spent so much time learning to exit vim, we forgot how to exit shell 😔