ohmyzsh: Update not working (error with upgrade.sh)

I can’t update Oh My Zsh from inside the shell. This is my shell session showing what goes wrong:

Last login: Sun Aug 14 09:42:19 on ttys002
[Oh My Zsh] Would you like to check for updates?
Type Y to update oh-my-zsh: y
/bin/sh: /tools/upgrade.sh: No such file or directory

Here is my .zshrc (zsh_app_switcher is just a simple function):

ZSH=$HOME/.oh-my-zsh
ZSH_THEME="robbyrussell"
plugins=(osx brew rvm gem bundler git rails3)
source $ZSH/oh-my-zsh.sh
export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin
source /Users/ashleymoran/.dotfiles/zsh_app_switcher
export EDITOR="mate -w"
export SVN_EDITOR="mate -w"
alias nano="nano -w"
export DARCS_EMAIL=ash.moran@patchspace.co.uk
if [[ -s /Users/ashleymoran/.rvm/scripts/rvm ]] ; then source /Users/ashleymoran/.rvm/scripts/rvm ; fi

About this issue

  • Original URL
  • State: closed
  • Created 13 years ago
  • Comments: 24 (4 by maintainers)

Commits related to this issue

Most upvoted comments

I also had troubles upgrading.

Manually executing git pull origin master worked.

Iernies trick worked. Seems like $ZSH isn’t working inside upgrade.sh even though it is working otherwise.

If you upgraded you MAC OS & you have XCode already installed, you should open XCode & accept agreements & install new components, then, go back to terminal … the issue will be resolved.