How zsh is more useful than bash
slideshare.net
How zsh is more useful than bash
1–10 of 151 posts
Re: How zsh is more useful than bash
#2vimdiff 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 fine.
Re: How zsh is more useful than bash
#3Re: How zsh is more useful than bash
#4Re: How zsh is more useful than bash
#5Re: How zsh is more useful than bash
#6Problem 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.
shopt -s globstar
rm **/*.swpRe: How zsh is more useful than bash
#7 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
#8The 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
#9^site1^site2
and get the same result.
Re: How zsh is more useful than bash
#10I 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…