Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
complete -A hostname ssh ping traceroute mtr
It doesn't seem to have an 'action' for mounted filesystems.
Still, I have to finish by mentioning that you should definitely switch to emacs :-)
Evolution of shells in Linux (developerWorks)
Posted Dec 8, 2011 7:24 UTC (Thu) by wahern (subscriber, #37304)
Posted Dec 8, 2011 8:42 UTC (Thu) by thedevil (subscriber, #32913)
Posted Dec 8, 2011 9:31 UTC (Thu) by HelloWorld (guest, #56129)
Posted Dec 8, 2011 18:33 UTC (Thu) by clump (subscriber, #27801)
What part about "right-hand prompt" and "no approximations" did you not understand?
Posted Dec 8, 2011 10:26 UTC (Thu) by imgx64 (guest, #78590)
But then again, I don't think you'll really "use bash when bash learns RPROMPT", simply because there is no reason to use Bash if you're happy with Zsh.
 I don't want to start a shell wars thread, but I'm curious if Bash has any advantages over Zsh other than ubiquity and the user being familiar with Readline (has a customized .inputrc for example).
Posted Dec 8, 2011 14:42 UTC (Thu) by nix (subscriber, #2304)
Posted Dec 8, 2011 14:40 UTC (Thu) by nix (subscriber, #2304)
(But it is seriously awesome despite the ridiculous overdesign.)
Posted Dec 8, 2011 14:50 UTC (Thu) by nye (guest, #51576)
Can you give an example of the kind of autocompletion that can be done in zsh but not in bash?
Posted Dec 8, 2011 16:44 UTC (Thu) by nix (subscriber, #2304)
bash has nothing remotely comparable.
It is *crazy* flexible, so flexible that there is an autoloaded 'compinit' function just so that normal mortals stand a chance of configuring its *default* setup. (This is the 'zshcompsys' completion system, btw, not the 'zshcompctl' system, which is akin to bash's, and is obsolete.)
Posted Dec 8, 2011 15:48 UTC (Thu) by joey (subscriber, #328)
Posted Dec 14, 2011 0:01 UTC (Wed) by tertium (subscriber, #56169)
Posted Dec 8, 2011 23:34 UTC (Thu) by nevyn (subscriber, #33129)
That's probably at least 50% of the reason I still use zsh, the other 90% being that I configured zsh like 16 years ago and am happy to not have to configure bash when "yum install zsh" works instead :).
RPROMPT is nice too though ;).
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds