Skip to content

Commit

Permalink
Add git bash-completion and bump minor version for base devcontainer (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Sassiest01 authored Aug 19, 2024
2 parents 6c1b34e + a4ca621 commit d8cd967
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions templates/base/.devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": "${localEnv:NODE_VERSION}"
},
"ghcr.io/guiyomh/features/vim:0": {},
"ghcr.io/situdevelopment/devcontainer-features/automation:1.0.0": {}
"ghcr.io/situdevelopment/devcontainer-features/automation:1": {}
},

"customizations": {
Expand All @@ -33,7 +33,10 @@
}
},

"postCreateCommand": "npm install",
"postCreateCommand": {
"npm-deps": "npm install",
"git-completion": "echo 'source /usr/share/bash-completion/completions/git' >> /etc/bash.bashrc"
},

// required for Dev Containers which use Docker Compose: https://github.com/microsoft/vscode-remote-release/issues/7923
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}"
Expand Down
2 changes: 1 addition & 1 deletion templates/base/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "base",
"version": "1.2.0",
"version": "1.3.0",
"name": "Base Dev Container",
"description": "Base Dev Container template"
}

0 comments on commit d8cd967

Please sign in to comment.