How to know what plugins are installed in my Oh My 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?

2

1 Answer

I suppose that you installed Oh My Zsh by running the following command:

sh -c "$(wget -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 .zshrc file (found in the $HOME directory). For example, this enables the rails, git and ruby plugins, in that order:

plugins=(rails git ruby)

You can list the enabled plugins with:

echo $plugins
2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like