Merge pull request #2101 from Masa1984a/fix/add-nano-to-devcontainer
fix: Add nano and vim editors to devcontainer with default editor config
This commit is contained in:
commit
07b198b9de
1 changed files with 7 additions and 1 deletions
|
|
@ -19,7 +19,9 @@ RUN apt update && apt install -y less \
|
|||
iproute2 \
|
||||
dnsutils \
|
||||
aggregate \
|
||||
jq
|
||||
jq \
|
||||
nano \
|
||||
vim
|
||||
|
||||
# Ensure default node user has access to /usr/local/share
|
||||
RUN mkdir -p /usr/local/share/npm-global && \
|
||||
|
|
@ -57,6 +59,10 @@ ENV PATH=$PATH:/usr/local/share/npm-global/bin
|
|||
# Set the default shell to zsh rather than sh
|
||||
ENV SHELL=/bin/zsh
|
||||
|
||||
# Set the default editor and visual
|
||||
ENV EDITOR nano
|
||||
ENV VISUAL nano
|
||||
|
||||
# Default powerline10k theme
|
||||
RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v1.2.0/zsh-in-docker.sh)" -- \
|
||||
-p git \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue