This plugin updates every git repo in the $ZSH_CUSTOM
folder.
Clone this repo to your local
git clone https://github.com/tautomer/update-ohmyzsh-custom-plugins.git $ZSH_CUSTOM/plugins/update-custom-plugins
To use the plugin, add it in your plugin list in your .zshrc
plugins=(... update-custom-plugins ...)
Run update-custom-plugins
to perform the update.
The plugin is in very early stage which barely does its job. There are many things in my mind.
-
Check if the repo really need an update before
git pull
. -
Check if it is safe to pull from remote. Abort if there are conflicts.
-
More elegant output message.
-
Better script?