-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathcompose.yaml
111 lines (99 loc) · 2.96 KB
/
compose.yaml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
services:
build:
image: golang
command: sh -c 'cp -r /carapace /build && cd /build/example/ && go build -buildvcs=false . && chown 1000:1000 example && mv example /carapace/example/'
volumes:
- '.:/carapace/'
bash:
image: ghcr.io/carapace-sh/base
volumes:
- '.:/carapace/:ro'
environment:
RC_BASH: |
export PATH="/carapace/example/:$$PATH"
source <(example _carapace)
bash-ble:
image: ghcr.io/carapace-sh/shell-bash-ble
volumes:
- '.:/carapace/:ro'
environment:
RC_BASH_BLE: |
export PATH="/carapace/example/:$$PATH"
source <(example _carapace)
elvish:
image: ghcr.io/carapace-sh/shell-elvish
volumes:
- '.:/carapace/:ro'
environment:
RC_ELVISH: |
set paths = [ /carapace/example/ $$@paths ]
eval (example _carapace|slurp)
fish:
image: ghcr.io/carapace-sh/shell-fish
volumes:
- '.:/carapace/:ro'
environment:
RC_FISH: |
fish_add_path /carapace/example/
example _carapace | source
nushell:
image: ghcr.io/carapace-sh/shell-nushell
volumes:
- '.:/carapace/:ro'
environment:
RC_NUSHELL_ENV: |
$$env.PATH = ($$env.PATH | split row (char esep) | prepend "/carapace/example/")
mkdir ~/.cache/
example _carapace nushell | save --force ~/.cache/example.nu
RC_NUSHELL: |
source ~/.cache/example.nu
$$env.config.completions.external.completer = $$example_completer
oil:
image: ghcr.io/carapace-sh/shell-oil
volumes:
- '.:/carapace/:ro'
environment:
RC_OIL: |
export PATH="/carapace/example/:$$PATH"
source <(example _carapace)
powershell:
image: ghcr.io/carapace-sh/shell-powershell
volumes:
- '.:/carapace/:ro'
environment:
RC_POWERSHELL: |
[Environment]::SetEnvironmentVariable("PATH", "/carapace/example/" + [IO.Path]::PathSeparator + [Environment]::GetEnvironmentVariable("PATH"))
example _carapace powershell | Out-String | Invoke-Expression
tcsh:
image: ghcr.io/carapace-sh/shell-tcsh
volumes:
- '.:/carapace/:ro'
environment:
RC_TCSH: |
setenv PATH "/carapace/example/:$$PATH"
set autolist
eval `example _carapace`
xonsh:
image: ghcr.io/carapace-sh/shell-xonsh
volumes:
- '.:/carapace/:ro'
environment:
RC_XONSH: |
$$PATH.insert(0,'/carapace/example/')
exec($$(example _carapace))
zsh:
image: ghcr.io/carapace-sh/shell-zsh
volumes:
- '.:/carapace/:ro'
environment:
RC_ZSH: |
export PATH="/carapace/example/:$$PATH"
source <(example _carapace)
vhs:
image: ghcr.io/carapace-sh/vhs
volumes:
- '.:/carapace/'
working_dir: /carapace/docs/src/development/vhs
command: bash --login -c "ls -d */ | xargs -I'{}' bash -c \"cd {};ls *.tape | xargs -n1 vhs\""
env_file:
- .github/workflows/vhs.env