Benoît P
Benoît P

Reputation: 3265

how to fix "oh-my-zsh plugin 'docker,' not found"

When I start I get this :

[oh-my-zsh] plugin 'docker,' not found

my .zshrc looks like this :

plugins=(
  docker,
  docker-compose,
  git
)

Upvotes: 4

Views: 5932

Answers (1)

Benoît P
Benoît P

Reputation: 3265

It's confusing, either write :

plugins=(
  docker
  docker-compose
  git
)

or

plugins=(docker docker-compose git)

but not

plugins=(
  docker,
  docker-compose,
  git
)

or

plugins=(docker, docker-compose, git)

The reason is that , is a valid character for a file. You could have a plugin called docker, or even one called ,.

Upvotes: 9

Related Questions