Switch to Zsh

Right after the announcement of GNU/Bash 3's availablility, I think it is time for me to take a change, leaving the comfy environment that I have got used to over the last 10 years, switching to something all the hard core command line users have been raving about - Zsh.

Getting it installed is trivial for us Gentoo users. Portage emerges 4.2.0-r1 for me, compiled fresh from source. It took me a while to convert my good old .bashrc to .zshrc, as the syntax is a bit different. But, a shell is a shell - where is the difference? I spent most of day time having two hands on the keyboard, and only for a few hours usage I am appreciating some of the interactive features of Zsh. Command completion is a big thing, and Gentoo guys have certainly put quite a bit of effort to make Portage more Zsh-friendly. Here's an example:

~% sudo emerge sy<TAB>
emerge actions
sync    -- Initiates a portage tree update
system  -- Represent all the system packages
portage
sylpheed                 synce-librapi2           syslog-ng
sylpheed-claws           synce-libsynce           sysstat
sylpheed-iconset         synce-multisync_plugin   system
symlinks                 synce-rra                systemc
synaesthesia             synce-serial             systemconfigurator
synaptics                synce-trayicon           systemimager-boot-bin
sync2cd                  synergy                  systemimager-client-bin
syncdir                  synopsis                 systemimager-common-bin
synce                    syscriptor               systemimager-server-bin
synce-dccm               sysfsutils               systray4j
synce-gnomevfs           sysklogd                 sysutils
synce-kde                syslinux                 sysvinit
directory
sys-apps/      sys-cluster/   sys-devel/     sys-kernel/
sys-boot/      sys-darwin/    sys-fs/        sys-libs/

Note: <TAB> is when I press the TAB key, where command line users usually expect the shell to perform some sort of word completion.

Cool, huh?!

So far I am still getting used to Zsh's syntax, and I still haven't found it as comfortable as Bash. You just can't get rid of the old habits you had over night, can you? But hopefully I'll find more joy and efficiency in using Zsh as the days go by.