Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
58 lines (36 sloc) 1.1 KB
Firstly, no plugins, nothing to cleanup.
$ antigen-cleanup --force
You don't have any bundles.
Load the plugins.
$ antigen-bundle $PLUGIN_DIR &> /dev/null
$ antigen-bundle $PLUGIN_DIR2 &> /dev/null
Check the listing.
$ antigen-list
*/test-plugin / plugin true (glob)
*/test-plugin2 / plugin true (glob)
Nothing should be available for cleanup.
$ antigen-cleanup --force
You don't have any unidentified bundles.
Clear out the bundles record.
$ _ANTIGEN_BUNDLE_RECORD=""
Check the listing, after clearing the record.
$ antigen-list
You don't have any bundles.
[1]
Confirm the plugin directory exists.
$ ls dot-antigen/repos | wc -l
2
Do the cleanup.
$ antigen-cleanup --force
You have clones for the following repos, but are not used.
*/test-plugin (glob)
*/test-plugin2 (glob)
Deleting clone for */test-plugin... done. (glob)
Deleting clone for */test-plugin2... done. (glob)
Check the listing, after cleanup.
$ antigen-list
You don't have any bundles.
[1]
Confirm the plugin directory does not exist after cleanup.
$ ls dot-antigen/repos | wc -l
0
Something went wrong with that request. Please try again.