Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (34 sloc) 1.01 KB
Load plugin.
$ antigen-bundle $PLUGIN_DIR &> /dev/null
$ hehe
hehe
Update the plugin.
$ cat > $PLUGIN_DIR/aliases.zsh <<EOF
> alias hehe='echo hehe, updated'
> EOF
$ pg commit -am 'Updated message'
\[master [a-f0-9]{7}\] Updated message (re)
1 file changed, 1 insertion(+), 1 deletion(-)
Run antigen's update.
$ antigen-update
**** Pulling */test-plugin (glob)
From */test-plugin (glob)
???????..??????? master -> origin/master (glob)
Updating ???????..??????? (glob)
Fast-forward
aliases.zsh |\s+2 \+- (re)
1 file changed, 1 insertion(+), 1 deletion(-)
Updated from ??????? to ???????. (glob)
??????? Updated message (glob)
aliases.zsh |\s+2 \+- (re)
1 file changed, 1 insertion(+), 1 deletion(-)
Confirm there is still only one repository.
$ ls $ADOTDIR/repos | wc -l
1
The new alias should not activate.
$ hehe
hehe
Run update again, with no changes in the origin repo.
$ antigen-update
**** Pulling */test-plugin (glob)
Already up-to-date.
Something went wrong with that request. Please try again.