spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

Merge pull request #2101 from Masa1984a/fix/add-nano-to-devcontainerBrowse files
fix: Add nano and vim editors to devcontainer with default editor config
ant-kurt authored on Jul 28, 2025 · GitHub committed on Jul 28, 2025 parents 8ad36c4 + a6091b6 · commit 07b198b9de50
1 changed file+7 -1compared with 8ad36c4
M.devcontainer/Dockerfile
@@ -19,7 +19,9 @@
1919 iproute2 \
2020 dnsutils \
2121 aggregate \
22- jq
22+ jq \
23+ nano \
24+ vim
2325
2426 # Ensure default node user has access to /usr/local/share
2527 RUN mkdir -p /usr/local/share/npm-global && \
@@ -57,6 +59,10 @@
5759 # Set the default shell to zsh rather than sh
5860 ENV SHELL=/bin/zsh
5961
62+# Set the default editor and visual
63+ENV EDITOR nano
64+ENV VISUAL nano
65+
6066 # Default powerline10k theme
6167 RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v1.2.0/zsh-in-docker.sh)" -- \
6268 -p git \