aboutsummaryrefslogtreecommitdiffstats
path: root/.devcontainer/bashrc.override.sh
diff options
context:
space:
mode:
Diffstat (limited to '.devcontainer/bashrc.override.sh')
-rw-r--r--.devcontainer/bashrc.override.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/.devcontainer/bashrc.override.sh b/.devcontainer/bashrc.override.sh
new file mode 100644
index 0000000..bedddf6
--- /dev/null
+++ b/.devcontainer/bashrc.override.sh
@@ -0,0 +1,20 @@
+
+#
+# .bashrc.override.sh
+#
+
+# persistent bash history
+HISTFILE=~/.bash_history
+PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
+
+# set some django env vars
+source /entrypoint
+
+# restore default shell options
+set +o errexit
+set +o pipefail
+set +o nounset
+
+# start ssh-agent
+# https://code.visualstudio.com/docs/remote/troubleshooting
+eval "$(ssh-agent -s)"