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
vim grindset 💪
alias q=exit alias :q=exit alias :wq=exit
alias .=exit
That would make my shell unusable, since some plugins use
.
/source
../ and . Are two different things to your shell
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
&&
)Ah, ok. For me it was an alias common in the university labs back on Ultrix. Became a habit way back then.
I have :q to exit too since i was trying to exit shell with :q. I guess (n)vim users cant exit their shells :)
we spent so much time learning to exit vim, we forgot how to exit shell 😔