I want to install 2 Oh My Zsh plugins, but I don't know their names. My brother had also downloaded them some years ago, but he doesn't know their names either.
How can I know what Oh My Zsh plugins are installed in my brother's zsh?
I want to install 2 Oh My Zsh plugins, but I don't know their names. My brother had also downloaded them some years ago, but he doesn't know their names either.
How can I know what Oh My Zsh plugins are installed in my brother's zsh?
I suppose that you installed Oh My Zsh by running the following command:
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
In this case, Oh My Zsh plugins are installed in the ~/.oh-my-zsh/plugins directory, so running the following command will return a list of your installed plugins:
ls ~/.oh-my-zsh/plugins
To enable a plugin, just add its name (as shown from the above command) in plugins=(...) in your ~/.zshrc file. From the Oh My Zsh wiki:
Enable a plugin by adding its name to the plugins array in your
.zshrcfile (found in the$HOMEdirectory). For example, this enables therails,gitandrubyplugins, in that order:plugins=(rails git ruby)
You can list the enabled plugins with:
echo $plugins