removed windows and linux split subdir
This commit is contained in:
parent
83dda10fa8
commit
065b982734
280 changed files with 9053 additions and 426 deletions
35
.antidote/tests/test_alt_zsh_defer_bundle.md
Normal file
35
.antidote/tests/test_alt_zsh_defer_bundle.md
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# antidote test alternative zsh-defer repo
|
||||
|
||||
## Setup
|
||||
|
||||
```zsh
|
||||
% source ./tests/_setup.zsh
|
||||
% source ./antidote.zsh
|
||||
%
|
||||
```
|
||||
|
||||
## Customize zsh-defer
|
||||
|
||||
If the user forks zsh-defer, support setting a zstyle for an alternative repo location.
|
||||
|
||||
### General
|
||||
|
||||
```zsh
|
||||
% zstyle ':antidote:bundle' use-friendly-names on
|
||||
% zstyle ':antidote:defer' bundle 'custom/zsh-defer'
|
||||
% antidote bundle 'zsh-users/zsh-autosuggestions kind:defer' 2>/dev/null
|
||||
if ! (( $+functions[zsh-defer] )); then
|
||||
fpath+=( $HOME/.cache/antidote/custom/zsh-defer )
|
||||
source $HOME/.cache/antidote/custom/zsh-defer/zsh-defer.plugin.zsh
|
||||
fi
|
||||
fpath+=( $HOME/.cache/antidote/zsh-users/zsh-autosuggestions )
|
||||
zsh-defer source $HOME/.cache/antidote/zsh-users/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh
|
||||
%
|
||||
```
|
||||
|
||||
## Teardown
|
||||
|
||||
```zsh
|
||||
% t_teardown
|
||||
%
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue