I like process substitution feature in zsh. In bash you can write: vimdiff And this will create two pipes, where output of each ls will go. Unfortunately, vimdiff sometimes needs to do second pass on the files, so this command won't work properly when outputs are large. But in zsh you can write vimdiff =(ls /bin) =(ls /usr/bin) and this will create temporary normal files, instead of just pipes, and vimdiff will work…
How zsh is more useful than bash
11–20 of 151 posts
Re: How zsh is more useful than bash
#12Problem is zsh is not omnipresent like bash is. I'm sure that if you use zsh you also use Plan 9, code in D, write LuaTeX in Emacs and wear a monocle.
Re: How zsh is more useful than bash
#13Problem is zsh is not omnipresent like bash is. I'm sure that if you use zsh you also use Plan 9, code in D, write LuaTeX in Emacs and wear a monocle.
In fact I find zsh much easier for beginners and people who don't master the arcane intricacies of *nix.
Re: How zsh is more useful than bash
#14The killer feature to me is scp completion, e.g. scp someuser@someserver: … will ssh into the server, fetch the file list and offer it for completion locally (granted you have set up public key authentication)
Re: How zsh is more useful than bash
#15Problem is zsh is not omnipresent like bash is. I'm sure that if you use zsh you also use Plan 9, code in D, write LuaTeX in Emacs and wear a monocle.
I don't get your point. I use zsh+oh-my-zsh, and I don't know what Plan 9 is, don't code in D, never used LuaTeX (esp. not in Emacs), and I don't happen to wear a monocle. In fact I find zsh much easier for beginners and people who don't master the arcane intricacies of *nix.
Re: How zsh is more useful than bash
#16Problem is zsh is not omnipresent like bash is. I'm sure that if you use zsh you also use Plan 9, code in D, write LuaTeX in Emacs and wear a monocle.
I use zsh on ubuntu, write code in ruby and java in sublime text. Your strawman non-argument has no place on HN
Re: How zsh is more useful than bash
#17The killer feature to me is scp completion, e.g. scp someuser@someserver: … will ssh into the server, fetch the file list and offer it for completion locally (granted you have set up public key authentication)
Re: How zsh is more useful than bash
#18Re: How zsh is more useful than bash
#19Tab auto completion takes a second or two (even for files).
Combined with the git plugin I have enabled (which does "git status" on every prompt in a git folder) it's almost unbearable to work with.
I've looked into it a couple of times, there are some people with the same issues on oh-my-zsh's github, but I could never really solve it.
Would any pro zsh user know what my issue could be? I'm seriously considering going back to bash, I use it at work and it reminds me how fast the terminal can be.
Re: How zsh is more useful than bash
#20I love using zsh (in combination with oh-my-zsh) on OSX but the only thing I've noticed after using it a year is that it's becoming very very slow. As in, it usually takes me 5-10 seconds to login to a new session (locally) and be able to see the prompt and type something. Tab auto completion takes a second or two (even for files). Combined with the git plugin I have enabled (which does "git status" on every prompt i…