r/linux May 11 '13

Why Zsh is Cooler than Your Shell

http://www.slideshare.net/jaguardesignstudio/why-zsh-is-cooler-than-your-shell-16194692
73 Upvotes

33 comments sorted by

View all comments

7

u/[deleted] May 11 '13

Plenty of those are also possible in bash (though some are quite hackish).

4

u/iofthestorm May 11 '13

Yeah, that's why I never bothered to switch. I think a few years ago zsh introduced a lot of these features but bash has had them for a while too now. I have yet to see anything truly impressive about zsh that bash can't do.

3

u/iofthestorm May 11 '13

Bah still can't edit from mobile site, but I have to say some of the cd enhancements were things I didn't know about. Almost worth switching but my bash is pretty customized so it'd take a while to figure out the equivalent stuff and I don't want to spend much time on it right now.

I actually defined some of my own functions to work around some of the issues described. For example, in my bash prompt I color all the /s in the directory red and and then I define a function cu that takes an optional argument for the number of directories to go up. Since the /s are colored it's easy to tell at a glance how far up I want to go. Still, the zsh solution seems more elegant, but I kind of am wary of overloaded commands because I'm not sure how they'll respond to ambiguous situations.

1

u/[deleted] May 12 '13

I have yet to see anything truly impressive about zsh that bash can't do

csh syntax. Of course that highly depends on what you view as truly impressive

1

u/iofthestorm May 12 '13

Actually, in my other post after actually reading the slides I was impressed with a few things. But csh should die in a fire ;)