ohmyzsh: oh-my-zsh throwing error on startup.

I’m using zsh 5.0.2 on a solaris machine. I continue to get the following error when I start zsh:

bash-3.2$ zsh
_current_epoch:1: bad math expression: operand expected at `%s / 60 / ...'
andrew@solaris:~%

I get this when I perform an ls command:

andrew@solaris:~% ls
ls: illegal option -- G
usage: ls -1RaAdCxmnlhogrtuvVcpFbqisfHLeE@ [files]
andrew@solaris:~%

Is there anything else I can provide to help troubleshoot this?

About this issue

  • Original URL
  • State: closed
  • Created 11 years ago
  • Comments: 22 (9 by maintainers)

Commits related to this issue

Most upvoted comments

It wasn’t clear, debug mode is with -xv. If you want to copy everything you can try 2 things:

  1. Incrementing the scroll buffer. That is set in your terminal emulator, for example gnome-terminal if you’re using GNOME.
  2. Preferred, using script (you may have to install it):
script output.txt
zsh -xv
# exit zsh
exit
# exit script
exit
# at this point output.txt contains all the output of zsh

For reference, my output file weighs 336KB