Skip to content

Commit 81757f9

Browse files
committed
chore: update devcontainer.json for git completion install at container creation
1 parent 48c2ca9 commit 81757f9

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,8 @@
22
"name": "Node.js & TypeScript",
33
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye",
44
"features": {
5-
"ghcr.io/devcontainers-contrib/features/typescript:2": {}
5+
"ghcr.io/devcontainers-contrib/features/bash-command:1": {},
6+
"ghcr.io/guiyomh/features/vim:0": {}
67
},
7-
"customizations": {
8-
"vscode": {
9-
"extensions": [
10-
"blipn.terminal-icon",
11-
"eamodio.gitlens",
12-
"redhat.vscode-xml",
13-
"redhat.vscode-yaml"
14-
]
15-
}
16-
}
8+
"postCreateCommand": "wget --no-check-certificate --content-disposition https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -O ~/git-completion.bash; echo \". ~/git-completion.bash\" >> ~/.bashrc"
179
}

0 commit comments

Comments
 (0)