Skip to content

Commit 539dfe5

Browse files
committed
build(dev-container): add git auto-completion via .bashrc
[skip ci] Fixes hyperledger-cacti#2215 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
1 parent 8eb0672 commit 539dfe5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.devcontainer/devcontainer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"codeandstuff.package-json-upgrade"
7979
]
8080
}
81-
}
81+
},
8282

8383
// Features to add to the dev container. More info: https://containers.dev/features.
8484
// "features": {},
@@ -87,7 +87,7 @@
8787
// "forwardPorts": [],
8888

8989
// Use 'postCreateCommand' to run commands after the container is created.
90-
// "postCreateCommand": "uname -a",
90+
"postCreateCommand": "echo \"source /usr/share/bash-completion/completions/git\" >> ~/.bashrc"
9191

9292
// Configure tool-specific properties.
9393
// "customizations": {},

0 commit comments

Comments
 (0)