From 30fb8fbec4e28aab4b4c05e0f8634d94a27f5e66 Mon Sep 17 00:00:00 2001 From: "Brian M. Carlson" Date: Thu, 26 Dec 2019 17:40:03 +0000 Subject: [PATCH] Improve dockerfile prompt --- .devcontainer/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index c1c782d5..36305f21 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -58,6 +58,11 @@ RUN curl https://raw.githubusercontent.com/brianc/dotfiles/master/.tmux.conf > ~ # install nvm RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash +# set up a nicer prompt +RUN git clone https://github.com/magicmonty/bash-git-prompt.git ~/.bash-git-prompt --depth=1 + +RUN echo "source $HOME/.bash-git-prompt/gitprompt.sh" >> ~/.bashrc + # Set the locale RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen ENV LANG en_US.UTF-8