bash2zsh

Unable to convert Bash script to Zsh script

I need to change the following Bash code to Zsh TODO_OPTIONS="--timeout --summary" cd () { builtin cd "$@" RV=$? [ $RV = 0 -a -r .todo ] && devtodo ${TODO_OPTIONS} return $RV } pushd () { builtin pushd "$@" ...

How to make zsh run as a login shell on Mac OS X (in iTerm)?

When zsh is set as a login shell on Mac OS X, when it is started by iTerm, zsh doesn't consider that it's being run as a login shell, although it's started as ‘-zsh’ (‘-’ is put as the first character of arg[0]) which is supposed to mean that it should start as a login shell. So, when I set the login shell to bash, bash recognizes this ...

Recommendation - Zsh vs FishShell. Scripting, productivity and poweruser perse.

I have spent sometime trying to pick one, on net comparisons are for zsh vs bash and fish vs bash. But, I Could not find any comparison for zsh vs fish. I program in c/c++, apart from hello-world types, never done any major scripting. But now trying my hands at python and shell-scripts. Which shell keeps more juice in terms of productivi...