Why? Just because. I got it as my default shell in one remote host, and then decided to install it locally and take the opportunity to learn something new.
I'll be searching a lot for "how do I do X in zsh?"
The interesting things I did today already:
- Setup prezto; what seems to be a (better?) alternative to the famous "oh-my-zsh"
- Answered an StackOverflow question about zsh! How can I pause in zsh?
- Figured out how to get the path to the directory containing the current script:
${${(%):-%N}:h}${${(%):-%x}:h:a}
Update Nov/14:- Using
%x
instead of%N
makes it work within a function; :a
makes the path absolute.
- Using
As the last item shows, there is some
man zsh
going on instead of man bash
now.
No comments:
Post a Comment