From 96964c2af8cd44eba977f2872a29210d5dcd49d6 Mon Sep 17 00:00:00 2001 From: Neil Schark <neil.schark@h-da.de> Date: Thu, 19 Oct 2023 14:05:52 +0000 Subject: [PATCH] Fix default editor in Dev Container See merge request danet/gosdn!577 Co-authored-by: Neil-Jocelyn Schark <neil-jocelyn.schark@stud.h-da.de> --- .devcontainer/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index e914d3707..74cbf443a 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -34,8 +34,8 @@ ENV SHELL /bin/zsh RUN wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh || true # Set editor -RUN echo "export VISUAL='nano'" >> .zshrc -RUN echo "export EDITOR='nano'" >> .zshrc +RUN echo "export VISUAL='nano'" >> /home/vscode/.zshrc +RUN echo "export EDITOR='nano'" >> /home/vscode/.zshrc # Install preferred version of the containerlab RUN bash -c "$(curl -sL https://get.containerlab.dev)" -- -v ${_CLAB_VERSION} -- GitLab