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
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.