by Afal · 14y ago · 0 comments
Thing is there's no real feature I've noticed that made me think "Wow! How did I live without this?". Yeah I see some nice things but they feel like party tricks rather than game changing features.
I dunno, maybe I'm not seeing the big picture here. Is there anything out there that'll show what amazing things that zsh can do? Like is there anything out there that could make me stop using it like bash?
The glob features are certainly quite useful too, for example, if there's a file nested deep inside some directory I can just enter
vim **/filename
and zsh will expand it for me.- Keyboard navigation for TAB completion (using the arrows)
- Coloured TAB completion
- "for" one-liners: for f in /*.py; wc -l $f
- Named directories (cd ~named_dir)
(edit: formatting)
for f in *.py; do wc -l $f; done
also, you can do something like
for f in `find project_name`; do wc -l $f; done t work on the output of another command.
Cheers!