removed windows and linux split subdir

This commit is contained in:
Luka Jankovic 2026-02-03 23:43:22 +01:00
parent 83dda10fa8
commit 065b982734
280 changed files with 9053 additions and 426 deletions

View file

@ -0,0 +1,54 @@
# antidote init tests
## Setup
```zsh
% source ./tests/_setup.zsh
% source ./antidote.zsh
%
```
## Init
```zsh
% antidote init
#!/usr/bin/env zsh
function antidote {
case "$1" in
bundle)
source <( antidote-main $@ ) || antidote-main $@
;;
*)
antidote-main $@
;;
esac
}
%
```
Load plugins dynamically
```zsh
% source <(antidote init)
% antidote bundle foo/bar
sourcing foo/bar...
% antidote bundle foo/baz autoload:functions
sourcing foo/baz...
% antidote bundle $ZDOTDIR/custom/lib
sourcing custom lib1.zsh...
sourcing custom lib2.zsh...
% echo $#plugins
2
% echo $#libs
2
% echo $+functions[baz]
1
%
```
## Teardown
```zsh
% t_teardown
%
```