Blame view
tests/bundle.t
869 Bytes
|
e0d9ad45a
|
1 |
Load plugin from master. |
|
293eecb90
|
2 |
$ antigen-bundle $PLUGIN_DIR |
|
e0d9ad45a
|
3 4 5 6 |
Cloning into '.+?'\.\.\. (re)
done.
$ hehe
hehe
|
|
8a241a167
|
7 8 9 10 11 |
Load the plugin again. Just to see nothing happens.
$ antigen-bundle $PLUGIN_DIR
$ hehe
hehe
|
|
e0d9ad45a
|
12 |
Update the plugin. |
|
293eecb90
|
13 |
$ cat > $PLUGIN_DIR/aliases.zsh <<EOF |
|
e0d9ad45a
|
14 15 16 17 18 19 20 21 22 |
> 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(-)
Update bundles.
$ antigen-update
|
|
5d199ab20
|
23 24 25 26 |
**** Pulling */test-plugin (glob)
From */test-plugin (glob)
???????..??????? master -> origin/master (glob)
Updating ???????..??????? (glob)
|
|
e0d9ad45a
|
27 28 29 |
Fast-forward
aliases.zsh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
5d199ab20
|
30 |
|
|
e0d9ad45a
|
31 32 33 34 35 36 37 38 39 40 |
Confirm there is still only one repository.
$ ls $ADOTDIR/repos | wc -l
1
The new alias should not activate.
$ hehe
hehe
|