Skip to content

Commit 457ddf5

Browse files
authored
Merge pull request #6 from DiamondLightSource/bash-config
put features and initialise adjacent for clarity
2 parents c78720c + a342bef commit 457ddf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
"features": {
2727
"./features/bash-config": {}
2828
},
29+
// Create the config folder for the bash-config feature
30+
"initializeCommand": "mkdir -p ${localEnv:HOME}/.config/bash-config",
2931
"runArgs": [
3032
// Allow the container to access the host X11 display and EPICS CA
3133
"--net=host",
@@ -34,7 +36,5 @@
3436
],
3537
// Mount the parent as /workspaces so we can pip install peers as editable
3638
"workspaceMount": "source=${localWorkspaceFolder}/..,target=/workspaces,type=bind",
37-
// Create the config folder for the bash-config feature
38-
"initializeCommand": "mkdir -p ${localEnv:HOME}/.config/bash-config",
3939
"remoteUser": "root"
4040
}

0 commit comments

Comments
 (0)