Live data from Hacker News

Use Zsh

fendrich.se

1–10 of 117 posts

Re: Use Zsh

#2
Been meaning to start using it for a while. You convinced me to download it and see what all the fuss was over.

Couldn't be happier!

Re: Use Zsh

#4
> In Bash, we often use PgUp to search through the command history. In Zsh you just write part of the command and press Up. This will let you cycle through all command lines that contain what you have written, not just those that begins with it. If you don’t write anything Up works as usual, by cycling through all commands.

This is not true, you can do that in Bash too (via .inputrc) http://blog.theliuy.com/2011/inputrc-keyboard-mapping-config...

Edit: Maybe I misunderstood though, does pressing Up really let you search all command lines that contain what you have written, not just those that begins with it? It doesn't seem to do that on my zsh.

Re: Use Zsh

#6

> In Bash, we often use PgUp to search through the command history. In Zsh you just write part of the command and press Up. This will let you cycle through all command lines that contain what you have written, not just those that begins with it. If you don’t write anything Up works as usual, by cycling through all commands. This is not true, you can do that in Bash too (via .inputrc) http://blog.theliuy.com/2011/inpu…

Yeah, I thought as much. I just mentioned it to help a new user, because the standard in Bash seems to be PgUp and beginning-of-line search, while in Zsh it is Up and full search.

Re: Use Zsh

#8
post #7
post #5

Any one else using Fish?

Me. Just came to tell, that it's even better than zsh, but ultimately it's a matter of preference.

What are your top reasons to use fish over zsh? (Bearing in mind, of course, that it's ultimately a matter of preference...)

Re: Use Zsh

#9
I used to use zsh but switched back to bash a couple years ago simply because the benefit wasn't worth the trouble. When I first changed back I went to some difficulty to get my PS1 to have color in it. That slowly faded away and now I have a visceral, negative reaction to prompts with that much colorful whizzy fu. Maybe in a few more years I'll trim out the username/hostname/path and become content with just a %.
Post reply on HN