Add the zsh calculator function.