Skip to content

Commit 1f7984a

Browse files
committed
add global config docs
1 parent dadc489 commit 1f7984a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.devcontainer/features/bash-config/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,22 @@ To use this feature in an individual devcontainer, add the following to your `.d
1515

1616
The initializeCommand is required to create the directory for the bash-config folder in your home folder on the host, the very first time this is executed. Features do not have an InitializeCommand, so the devcontainer.json must do this.
1717

18+
## Global Installation
19+
20+
To use this feature in all devcontainers on your workstation, add the following to User setting.json:
21+
22+
```json
23+
"dev.containers.defaultFeatures": {
24+
"ghcr.io/gilesknap/devcontainer-features/bash-config:1.1.0"
25+
}
26+
```
27+
28+
Also, one time only, make sure the host folder for bash-config is created:
29+
30+
```bash
31+
mkdir -p $HOME/.config/bash-config
32+
```
33+
1834

1935
## features
2036

0 commit comments

Comments
 (0)