Blame view

tests/bundle.t 554 Bytes
e0d9ad45a   Shrikant Sharat   Fix #9 Add test f...
1
  Load plugin from master.
98dc8bb90   Shrikant Sharat   git's output is s...
2
    $ antigen-bundle $PLUGIN_DIR &> /dev/null
e0d9ad45a   Shrikant Sharat   Fix #9 Add test f...
3
4
    $ hehe
    hehe
8a241a167   Shrikant Sharat   Refactoring and a...
5
6
7
8
9
  Load the plugin again. Just to see nothing happens.
  
    $ antigen-bundle $PLUGIN_DIR
    $ hehe
    hehe
e0d9ad45a   Shrikant Sharat   Fix #9 Add test f...
10
11
12
13
  Confirm there is still only one repository.
  
    $ ls $ADOTDIR/repos | wc -l
    1
e8a2b3a63   Shrikant Sharat   Added tests for l...
14
15
16
  
  Load a prezto style module. Should only source the `init.zsh` present in the
  module.
98dc8bb90   Shrikant Sharat   git's output is s...
17
    $ antigen-bundle $PLUGIN_DIR2 &> /dev/null
e8a2b3a63   Shrikant Sharat   Added tests for l...
18
19
20
21
22
23
24
25
    $ hehe2
    hehe2
  
  The alias defined in the other zsh file should not be available.
  
    $ unsourced-alias
    zsh: command not found: unsourced-alias
    [127]