From bd517b5a4f42688ecacdc50da8247e4bf28b2953 Mon Sep 17 00:00:00 2001 From: Piotr Spieker Date: Tue, 26 Nov 2024 17:49:36 +0100 Subject: [PATCH] Add a .bashrc to the DevContainer similar to the .zshrc --- demo/.devcontainer/.bashrc | 4 ++++ demo/.devcontainer/Dockerfile | 1 + 2 files changed, 5 insertions(+) create mode 100644 demo/.devcontainer/.bashrc diff --git a/demo/.devcontainer/.bashrc b/demo/.devcontainer/.bashrc new file mode 100644 index 00000000..b8752c22 --- /dev/null +++ b/demo/.devcontainer/.bashrc @@ -0,0 +1,4 @@ +# start Starship prompt +eval "$(starship init bash)" + +source /home/blinky/.motd \ No newline at end of file diff --git a/demo/.devcontainer/Dockerfile b/demo/.devcontainer/Dockerfile index 72ca2e1a..13eef83e 100644 --- a/demo/.devcontainer/Dockerfile +++ b/demo/.devcontainer/Dockerfile @@ -20,6 +20,7 @@ RUN curl https://starship.rs/install.sh > /tmp/starship_install.sh && \ /tmp/starship_install.sh -y && \ rm /tmp/starship_install.sh +COPY .devcontainer/.bashrc /home/blinky/.bashrc COPY .devcontainer/.zshrc /home/blinky/.zshrc USER blinky