/
directories
47 lines (37 loc) · 1.18 KB
/
directories
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# plugins.toml
[plugins.test_downloads]
remote = "https://raw.githubusercontent.com/rossmacarthur/sheldon-test/master/test.plugin.zsh"
# plugins.lock
version = "<version>"
home = "<home>"
config_dir = "<config>"
data_dir = "<data>"
config_file = "<config>/plugins.toml"
[[plugins]]
name = "test_downloads"
source_dir = "<data>/downloads/raw.githubusercontent.com/rossmacarthur/sheldon-test/master"
files = ["<data>/downloads/raw.githubusercontent.com/rossmacarthur/sheldon-test/master/test.plugin.zsh"]
apply = ["source"]
[templates.PATH]
value = "export PATH=\"{{ dir }}:$PATH\""
each = false
[templates.path]
value = "path=( \"{{ dir }}\" $path )"
each = false
[templates.fpath]
value = "fpath=( \"{{ dir }}\" $fpath )"
each = false
[templates.source]
value = "source \"{{ file }}\""
each = true
# lock.stdout
# lock.stderr
[LOADED] ~/<config_sub>/plugins.toml
[FETCHED] https://raw.githubusercontent.com/rossmacarthur/sheldon-test/master/test.plugin.zsh
[LOCKED] ~/<data_sub>/plugins.lock
# source.stdout
source "<data>/downloads/raw.githubusercontent.com/rossmacarthur/sheldon-test/master/test.plugin.zsh"
# source.stderr
[UNLOCKED] ~/<data_sub>/plugins.lock
[RENDERED] test_downloads
# end