zsh: bad math expression: operand expected at `%F{magenta...' #272

Closed
skwp opened this Issue Mar 29, 2013 · 11 comments

Comments

Projects
None yet
8 participants
Owner

skwp commented Mar 29, 2013

After prezto upgrade..skwp theme is a little broken. Git branch doesn't display and we get that error.

Owner

skwp commented Mar 29, 2013

I now believe that this is related to missing git module

Owner

skwp commented Mar 29, 2013

Turns out my prezto didn't load at all on a fresh install due to a dirty file tree..nevermind this whole thing.

skwp closed this Mar 29, 2013

@skwp skwp pushed a commit that referenced this issue Aug 4, 2013

Yan Pritzker Switch to steeef_simplified prompt which doesn't seem to be problemat…
…ic like the skwp prompt with newer prezto installs [Fix #272 #286]
8004dd2

@jby jby added a commit to jby/dotfiles that referenced this issue Aug 5, 2013

@jby jby Merge branch 'master' of https://github.com/skwp/dotfiles
* 'master' of https://github.com/skwp/dotfiles:
  Don't use powerline fonts in airline [Fix #367] maybe
  Added vim-session; :SaveSession and :OpenSession [Fix #322]
  Upgraded hub command
  Remove unused run_tags. Use :Rtags instead
  Kill sass-status [Fix #361]
  Added multicursor - hit Ctrl-n to select multiple things and then i/c them! [Fix #368]
  Switch to steeef_simplified prompt which doesn't seem to be problematic like the skwp prompt with newer prezto installs [Fix #272 #286]
  Added simplified steeef theme without newlines
  Remove duplicate vundles (thanks fayimora)
  Swapped out powerline for airline [Fix #372]
  Updates RubyGem sources
  Fixing Y behaviour
02040a8

@jby jby added a commit to jby/dotfiles that referenced this issue Aug 5, 2013

@jby jby Merge branch 'master' into jby
* master:
  Don't use powerline fonts in airline [Fix #367] maybe
  Added vim-session; :SaveSession and :OpenSession [Fix #322]
  Upgraded hub command
  Remove unused run_tags. Use :Rtags instead
  Kill sass-status [Fix #361]
  Added multicursor - hit Ctrl-n to select multiple things and then i/c them! [Fix #368]
  Switch to steeef_simplified prompt which doesn't seem to be problematic like the skwp prompt with newer prezto installs [Fix #272 #286]
  Added simplified steeef theme without newlines
  Remove duplicate vundles (thanks fayimora)
  Swapped out powerline for airline [Fix #372]
  Updates RubyGem sources
  Fixing Y behaviour
62e6688

@auser auser added a commit to auser/yadr that referenced this issue Aug 5, 2013

@auser auser Merge branch 'master' of https://github.com/skwp/dotfiles
* 'master' of https://github.com/skwp/dotfiles:
  Don't use powerline fonts in airline [Fix #367] maybe
  Added vim-session; :SaveSession and :OpenSession [Fix #322]
  Upgraded hub command
  Remove unused run_tags. Use :Rtags instead
  Kill sass-status [Fix #361]
  Added multicursor - hit Ctrl-n to select multiple things and then i/c them! [Fix #368]
  Switch to steeef_simplified prompt which doesn't seem to be problematic like the skwp prompt with newer prezto installs [Fix #272 #286]
  Added simplified steeef theme without newlines
  Remove duplicate vundles (thanks fayimora)
  Swapped out powerline for airline [Fix #372]
  Updates RubyGem sources
  Remove duplicate of vim-slim on vundles
  Fixing Y behaviour
ec38641

@nandalopes nandalopes added a commit to nandalopes/dotfiles-skwp that referenced this issue Aug 13, 2013

@nandalopes Yan Pritzker + nandalopes Switch to steeef_simplified prompt which doesn't seem to be problemat…
…ic like the skwp prompt with newer prezto installs [Fix #272 #286]
f494944

@trongrg trongrg added a commit to trongrg/dotfiles that referenced this issue Aug 21, 2013

@trongrg trongrg Merge remote-tracking branch 'upstream/master'
* upstream/master:
  fix can't find pane bug
  Remove redundant recommended OSX tool 'autojump'
  Don't use powerline fonts in airline [Fix #367] maybe
  Added vim-session; :SaveSession and :OpenSession [Fix #322]
  Upgraded hub command
  Remove unused run_tags. Use :Rtags instead
  Kill sass-status [Fix #361]
  Added multicursor - hit Ctrl-n to select multiple things and then i/c them! [Fix #368]
  Switch to steeef_simplified prompt which doesn't seem to be problematic like the skwp prompt with newer prezto installs [Fix #272 #286]
  Added simplified steeef theme without newlines
  Remove duplicate vundles (thanks fayimora)
  Swapped out powerline for airline [Fix #372]
  Updates RubyGem sources
  Fixing Y behaviour

Conflicts:
	zsh/theme.zsh
233eda4

@trongrg trongrg added a commit to trongrg/dotfiles that referenced this issue Aug 22, 2013

@trongrg trongrg Merge branch 'master' of github.com:trongrg/dotfiles
* 'master' of github.com:trongrg/dotfiles: (55 commits)
  fix can't find pane bug
  Remove redundant recommended OSX tool 'autojump'
  Don't use powerline fonts in airline [Fix #367] maybe
  Added vim-session; :SaveSession and :OpenSession [Fix #322]
  Upgraded hub command
  Remove unused run_tags. Use :Rtags instead
  Kill sass-status [Fix #361]
  Added multicursor - hit Ctrl-n to select multiple things and then i/c them! [Fix #368]
  Switch to steeef_simplified prompt which doesn't seem to be problematic like the skwp prompt with newer prezto installs [Fix #272 #286]
  Added simplified steeef theme without newlines
  Remove duplicate vundles (thanks fayimora)
  Swapped out powerline for airline [Fix #372]
  Updates RubyGem sources
  comment out some unused options in osx script
  upgrade to ack 2
  no longer paginate pry output
  update prezto submodule
  remove submodules
  ignore rerun.txt
  ignore pow, rvm files
  ...

Conflicts:
	zsh/prezto
8cc7f5b

I just installed Yadr on a Debian machine and I am getting this as well.
zsh: bad math expression: operand expected at%F{magenta...'`

Owner

skwp commented Nov 14, 2013

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 notifications@github.com 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.

@burnettk burnettk added a commit to burnettk/dotfiles that referenced this issue Dec 30, 2013

@burnettk Yan Pritzker + burnettk Switch to steeef_simplified prompt which doesn't seem to be problemat…
…ic like the skwp prompt with newer prezto installs [Fix #272 #286]
fa64d68

I fixed this by adding

pmodule 'git' to my ~/.zpreztorc
(after all the other modules that are loaded)

@TigerWolf Thanks for the tip!

@chrisnankervis chrisnankervis pushed a commit to chrisnankervis/dotfiles that referenced this issue Oct 5, 2014

Yan Pritzker Switch to steeef_simplified prompt which doesn't seem to be problemat…
…ic like the skwp prompt with newer prezto installs [Fix #272 #286]
8ad6307

hyden commented Nov 5, 2014

@TigerWolf it works now. thanks a lot.

zapnap commented Nov 20, 2014

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?

@sayar sayar added a commit to sayar/dotfiles that referenced this issue Apr 24, 2015

@sayar sayar Merge remote-tracking branch 'upstream/master' into customizations
* upstream/master:
  Added vim-session; :SaveSession and :OpenSession [Fix #322]
  Upgraded hub command
  Remove unused run_tags. Use :Rtags instead
  Kill sass-status [Fix #361]
  Added multicursor - hit Ctrl-n to select multiple things and then i/c them! [Fix #368]
  Switch to steeef_simplified prompt which doesn't seem to be problematic like the skwp prompt with newer prezto installs [Fix #272 #286]
  Added simplified steeef theme without newlines
  Remove duplicate vundles (thanks fayimora)
  Swapped out powerline for airline [Fix #372]
  Updates RubyGem sources
  Fixing Y behaviour
bb3e4f9

Ran into this issue trying to install the [powerline] presto theme—needs to reflect this pull request.

djadmin commented Feb 4, 2016

Thanks @TigerWolf. It works like charm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment