diff --git a/plugins/plugin/subcommands/update b/plugins/plugin/subcommands/update index 6f8be4321..1cc5c5a0e 100755 --- a/plugins/plugin/subcommands/update +++ b/plugins/plugin/subcommands/update @@ -23,6 +23,18 @@ cmd-plugin-update() { fi plugn update "$PLUGIN" "$PLUGIN_COMMITTISH" + else + pushd "$PLUGIN_ENABLED_PATH" >/dev/null + for PLUGIN in *; do + if [[ -d "${PLUGIN}" ]]; then + if fn-is-core-plugin "${PLUGIN}"; then + continue + fi + + plugn update "$PLUGIN" + fi + done + popd &>/dev/null || pushd "/tmp" >/dev/null fi plugn trigger update