Skip to content

Commit ac8e75b

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

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Devcontainer features for use in Python Copier Template or any other devcontaine
66

77
Adds customizations to the the bash shell that can be shared across all developer containers using the feature.
88

9-
See details in the [bash-config README](src/bash-config/README.md).
9+
See details in the [bash-config README](.devcontainer/features/bash-config/README.md).
1010

1111
## other
1212

0 commit comments

Comments
 (0)