Blame view

tests/antigen-wrapper.t 273 Bytes
ddbb98497   mj   Squashed 'repos/z...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  Create a dummy antigen command.
  
    $ antigen-dummy () {
    >   echo me dummy
    > }
  
  Check the normal way of calling it
  
    $ antigen-dummy
    me dummy
  
  Call with the wrapper syntax.
  
    $ antigen dummy
    me dummy
  
  Call with an alias
  
    $ alias a=antigen
    $ a dummy
    me dummy