News for hackers. Stuff that matters.
Re:Bicycle skills by plorkyeran on Wednesday August 01, 2012 @02:00PM (#4324544)
Personally I found zsh worth switching to even without spending any meaningful amount of time learning to use it. The better tab completion alone is enough to make up for the setup time and the occasional bashisms I try that don't work.
Re:Bicycle skills by elithrar on Wednesday August 01, 2012 @09:40PM (#4326758)
> Personally I found zsh worth switching to even without spending any meaningful amount of time learning to use it.

Definitely. Smarter tab completion and smarter word deletion (Ctrl+W) are probably the two "most used" features for me.

FWIW, after ~6 years using Bash, moving to zsh last week was a revelation. I swapped to tmux (after dabbling in screen) the week prior. Has been a good fortnight.

[1] https://github.com/robbyrussell/oh-my-zsh/ is a great source of zsh plug-ins and configs. I use the "simple" theme and the git, brew and gem plugins (amongst others): https://github.com/elithrar/dotfiles/blob/master/zshrc

Re:Bicycle skills by devgutt on Thursday August 02, 2012 @12:58AM (#4327355)
Ctrl-W works in bash too.
Re:Bicycle skills by djeikyb on Thursday August 02, 2012 @02:40AM (#4327618)
For this string with cursor at end: "cd /usr/share/gammu"

Bash[1] deletes to the space. Zsh[2] deletes to the slash. I installed Zsh just now to find this out, and I love that Zsh appears to use ctl-w to delete words like vim does.

[1]: GNU bash, version 4.2.37(2)-release (i686-pc-linux-gnu)

[2]: zsh 5.0.0 (i686-pc-linux-gnu)

Re:Bicycle skills by devgutt on Thursday August 02, 2012 @09:06AM (#4328509)
You can use META-<Backspace> (Emacs mode)