How zsh is more useful than bash
71–80 of 151 posts
Re: How zsh is more useful than bash
#72Oh, wait. Right. Lost in pronunciation. :P
Re: How zsh is more useful than bash
#73WTF? I wrote this slide deck. It was a presentation I made for a monthly "tech lunch" my team has. I made it after a couple of weeks of messing with zsh. It was for an audience of 4 other people who knew less about zsh than me. I can't believe someone posted it to HN! That explains the "this slide deck is getting traffic" email I got from Slideshare this morning.
Many people like me are new to whole Unix system and need trainings like this. I did not even know that I can upgrade my bash via homebrew.
I don't dare to switch to zsh yet. I'm afraid if it messes up all my bash_profile, rvm stuff and Vim configs. I have a bad memory with fish_fish
Re: How zsh is more useful than bash
#74Regarding the claim about Knuth's program being long, it is worth considering that (1) his program was primarily a demonstration of literate programming style, which contains considerable embedded documentation (2) the program needed to build significant basic infrastructure to support itself, including IO, sorting, case equivalence (including a table with each upper-case and lower-case letter), etc.
Doug's criticism and comparison of Knuth's solution vs. his own is insightful worth reading.
Re: How zsh is more useful than bash
#75WTF? I wrote this slide deck. It was a presentation I made for a monthly "tech lunch" my team has. I made it after a couple of weeks of messing with zsh. It was for an audience of 4 other people who knew less about zsh than me. I can't believe someone posted it to HN! That explains the "this slide deck is getting traffic" email I got from Slideshare this morning.
I enjoyed the slides. Great job! Many people like me are new to whole Unix system and need trainings like this. I did not even know that I can upgrade my bash via homebrew. I don't dare to switch to zsh yet. I'm afraid if it messes up all my bash_profile, rvm stuff and Vim configs. I have a bad memory with fish_fish
Re: How zsh is more useful than bash
#76Path replacement is also possible in bash, as in: cd site1 site2 if you just add this line to your ~/.bashrc: function cd() { if [ $# -eq 2 ]; then builtin cd ${PWD/$1/$2}; else builtin cd $1; fi }
Re: How zsh is more useful than bash
#77WTF? I wrote this slide deck. It was a presentation I made for a monthly "tech lunch" my team has. I made it after a couple of weeks of messing with zsh. It was for an audience of 4 other people who knew less about zsh than me. I can't believe someone posted it to HN! That explains the "this slide deck is getting traffic" email I got from Slideshare this morning.
I had just switched to zsh and found your deck when searching for something like "zsh features", I thought "hey this is great for starting out with zsh and maybe a good post for HN". Thank you for releasing it for everyone to see.
It was just a bit of a shock when I clicked the link. Since the link title was slightly different than what I named my slides, I just thought, "oh hey, another zsh comparison, let's see what this guy/gal said"...
Re: How zsh is more useful than bash
#78Earlier quoted context omitted.
> It's better. What's "better" about it?
It's got all the zsh features and doesn't need 4 seconds to start, like zsh did for me with oh-my-zsh.
Re: How zsh is more useful than bash
#79Bah! Give me Ksh.
I much prefer ksh myself, in particular for scripting. Fun fact about how bash is broken: export a=0 cat $file | while read line do a=$(expr $a + 1) done Bash will fork the while loop as a separate process, inheriting (copying) its own environment, and the variable will only update locally, not in the parent process.
Re: How zsh is more useful than bash
#80Earlier quoted context omitted.
It's got all the zsh features and doesn't need 4 seconds to start, like zsh did for me with oh-my-zsh.
Oh-my-zsh is responsible for being slow as hell. If you really want plugins, Prezto probably still has what you want and is significantly faster on startup. (In my experience, with very minimal customization.)