Skip to content

Commit

Permalink
explain the bashrc hook
Browse files Browse the repository at this point in the history
  • Loading branch information
diehlbw committed May 29, 2024
1 parent 2a47146 commit 1f78efc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@
// "runServices": [],
// Uncomment the next line if you want to keep your containers running after VS Code shuts down.
// "shutdownAction": "none",
// The next line to run commands after the container is created, making pytest work in this case
// Not needed if using gneiss
// The next line to run commands after the container is created, it auto-installs precommit hooks and the library
"postCreateCommand": "echo \"\\nif [ -f /home/seismo/workspace/.devcontainer/.bashrc ]; then\\n . /home/seismo/workspace/.devcontainer/.bashrc;\\nfi\" >> $HOME/.bashrc",
// Uncomment the next line to have VS Code connect as an existing non-root user in the container. See
// https://aka.ms/vscode-remote/containers/non-root for details on adding a non-root user if none exist.
Expand Down

0 comments on commit 1f78efc

Please sign in to comment.