Skip to content

Commit

Permalink
Ensure Git completions are added with elevated permissions (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
willsawyerrrr authored Aug 19, 2024
2 parents d8cd967 + fd0e6e0 commit 16d2e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/base/.devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

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

// required for Dev Containers which use Docker Compose: https://github.com/microsoft/vscode-remote-release/issues/7923
Expand Down

0 comments on commit 16d2e64

Please sign in to comment.