4 ms·
Why zsh over bash? Just curious.
by MuffinFlavored 3y ago
Why zsh over bash? Just curious.
- michaelcampbell 3y agoI've used zsh for many years, and for me the biggest wins were the various globbing enhancements that all but removed the need for `find`. I know bash has caught up on a lot of these but now it's just momentum. I do script with bash, however.
- nailer 3y agofind did itself such a disservice with it's syntax. find . -name 'somefile' should have been just find 'somefile' Ie, defaulting to the current dir and default to find via name.
- krferriter 3y agoYeah I don't like using find's predicate options, I often just do find | grep somefile because I can also use all the pattern syntax I use elsewhere in grep commands.
- michaelcampbell 3y agoYou might like https://github.com/sharkdp/fd https://github.com/sharkdp/fd. I use it as it is fast, although I've used `find` for so long I have to think about the differences before I do.
- SushiHippie 3y agoI also still script in bash, as zsh sometimes has some minor deviations that are not directly that obvious. One of the reasons I use zsh is because of all the plugins that exist for it. With them I have the feeling that they boost my productivity. But the real reason is, zsh feels more like it does what I want/expect compared to bash (, that is probably subjective?).