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
Fixes #2098 - Add nano and vim to provide editor choices for users - Set EDITOR and VISUAL environment variables to nano as default - This ensures /memory command and other tools work out of the box Users can still change their preferred editor by setting these environment variables in their shell configuration.
| @@ -19,7 +19,9 @@ | ||
| 19 | 19 | iproute2 \ |
| 20 | 20 | dnsutils \ |
| 21 | 21 | aggregate \ |
| 22 | - jq | |
| 22 | + jq \ | |
| 23 | + nano \ | |
| 24 | + vim | |
| 23 | 25 | |
| 24 | 26 | # Ensure default node user has access to /usr/local/share |
| 25 | 27 | RUN mkdir -p /usr/local/share/npm-global && \ |
| @@ -57,6 +59,10 @@ | ||
| 57 | 59 | # Set the default shell to zsh rather than sh |
| 58 | 60 | ENV SHELL=/bin/zsh |
| 59 | 61 | |
| 62 | +# Set the default editor and visual | |
| 63 | +ENV EDITOR nano | |
| 64 | +ENV VISUAL nano | |
| 65 | + | |
| 60 | 66 | # Default powerline10k theme |
| 61 | 67 | RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v1.2.0/zsh-in-docker.sh)" -- \ |
| 62 | 68 | -p git \ |