Holy Moly, I've gone three years and am just finding out about Vi Mode (both bash/zsh) and the Awesomeness of ZSH in general π€¦π½ββοΈ
This is a rant, and hopefully even one person can get something useful from it.
I am a contrarian by nature. I think if most people are doing/using something then it must be stupid and not worth while. For years people have been talking about ZSH over Bash. My disdain for Apple users in general just made me thumb my nose at it, not even for a second bothering to look into it myself.
My buddy just got into linux, he programs in dotnet mostly but had to do some heavier python stuff and decided that he would learn linux at the same time. The people at his job all use zsh, and he came over the other day, and I was floored at his comfort level with the terminal after just a week of use.
I'm not slamming Bash at all, but the way he had his zsh setup just made his life exponentially more easier. And then he showed me his Vi Mode setup and I was jealous. I've been navigating my terminal so dumbfoundly stupid in comparison. It's got the Vim goodness of VISUAL selection and REPLACE, and hjkl navigation, and his cursor changes.
I copied his .zshrc. It loads a bit too slow for me, so I'm looking into ble.sh and trying to see just how much I can emulate in bash (and praying it won't impact the performance)
Just don't be that person. Don't be a contrarian just for the sake of it. You just might learn something when you don't.
About this post
- Posted
- Archived
- Score
- 28 Β· 79% up
- Kind
- Text
- ID
- 17aaveb
15 comments
Just use fish. Like zsh but no plugins/addons necessary. WOOTB
Fish !
Main problem with fish is that itβs not fully POSIX compliant. Otherwise itβs great.
Fish ain't POSIX complient, plus it has stuff you don't need. Plugins are great as you can simply install exactly what you need, nothing more, nothing less.
Fish not being POSIX compliant on its own is great, but I write shellscripts pretty regularly so in that terms I'm with ZSH (even if I write scripts in dash)
If I didn't write scripts, yeah fish is a no brainer.
Having disdain for Apple users is weird to begin with as it's very popular with lots of very competent developers, but ZSH's popularity has nothing to do with Apple.
It has only been the macOS default shell for a few years and the version shipped with it is outdated and comes without any of the popular plugins. It's barely distinguishable from bash.
ZSH is nearly as old as bash.
Still, great that you got over yourself and learned something new. Th e beautiful thing about free software is that thanks to its long history there's always something new to learn and some different approach that might suit you.
Thank you! For a second, I started questioning reality.
Wow I hate how pretentious you are in the first two paragraphs
Arch live uses zsh too.
Emacs broke me. I started using it in 1992, began programming in elisp (the javascript of the time) and got caught up in a religious war. As a result I never taught myself vi/vim. Nowadays I rarely use emacs. Instead I use crap like gedit and sublime text because I can't be bothered. I wish I had gone for vi/vim instead. :D
Same story with bash really. It's so hard to give up something you've been using for two+ decades.
Wait until you find out about
fish;)Bash is a garbage interactive shell. Zsh and fish are the only viable choices for your login shell. Pick one and learn it, then forget about trying to improve bash. The difference between bash and the other shells is too large.