zsh: bad math expression: operand expected at `%F{magenta...'
After prezto upgrade..skwp theme is a little broken. Git branch doesn't display and we get that error.
I now believe that this is related to missing git module
Turns out my prezto didn't load at all on a fresh install due to a dirty file tree..nevermind this whole thing.
I just installed Yadr on a Debian machine and I am getting this as well.
zsh: bad math expression: operand expected at%F{magenta...'`
I've seen this problem and I think it's related to an outdated prezto. Can you try to cd ~/.zprezto && git fetch ; git reset --hard origin/master
Ran that, same result. Thanks for the help though.
On Nov 14, 2013, at 4:35 PM, Yan Pritzker [email protected] wrote:
I've seen this problem and I think it's related to an outdated prezto. Can you try to `cd ~/.zprezto && git fetch ; git reset --hard origin/master"
— Reply to this email directly or view it on GitHub.
I fixed this by adding
pmodule 'git' to my ~/.zpreztorc
(after all the other modules that are loaded)
@TigerWolf Thanks for the tip!
@TigerWolf it works now. thanks a lot.
Hmm I'm still having the issue. And the git prezto module is present. I move it to the end of the module load list and same issue. Any ideas?
Ran into this issue trying to install the [powerline] presto theme—needs to reflect this pull request.
Thanks @TigerWolf. It works like charm.
I think this might be the solution. edit your ~/.zpreztorc ':prezto:module:git:info' verbose 'yes'