ohmyzsh: Warning: plugin cargo not found

I belive it caused by https://github.com/robbyrussell/oh-my-zsh/pull/7679. Completions still work, but both rust and cargo trigger the error.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 5
  • Comments: 20 (5 by maintainers)

Commits related to this issue

Most upvoted comments

Removing the comma at the end of git solved it for me, thank you @mcornella ! Went from:

plugins=(
  git,
  zsh-autosuggestions
)

to

plugins=(
  git
  zsh-autosuggestions
)

to fix it.

Warning: plugin docker not found

Same here.

I found the issue will send a pr.

It didn’t work, you just didn’t know it.

Warning: plugin celery not found
Warning: plugin docker not found
Warning: plugin redis-cli not found
Warning: plugin rust not found
Warning: plugin scala not found
Warning: plugin terminator not found
Warning: plugin ufw not found
Warning: plugin vagrant not found

Same problem here

Just in case you don’t know the file you’re supposed to edit in order to make it work: it’s the .zshrc file, usually located in your home directory.

Zsh arrays use spaces to separate entries, the comma isn’t necessary.

@jedipunkz Are you upto date? upgrade_oh_my_zsh #7686 should have fixed it.