I'm trying to automate installing a ZSH plugin depending on which configuration framework the user is running (For example - prezto or oh-my-zsh) since the install location of the plugin changes with the change in config framework.
For example, for oh-my-zsh the plugins must be installed in ~/.oh-my-zsh/custom/plugins
folder whereas in prezto they must be installed in the ~/.prezto/modules
folder.
Is there a way I could determine the configuration framework or a workaround to install the plugin in both these cases? Thanks in advance.