Skip to content

Commit aa35220

Browse files
committed
Use latest zsh-in-docker
1 parent d510263 commit aa35220

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,15 @@ RUN apt-get update \
2424
&& rm -rf /var/lib/apt/lists/*
2525

2626
# Install Zsh, Oh-My-Zsh and plugins
27-
RUN sh -c "$(curl https://raw.githubusercontent.com/deluan/zsh-in-docker/master/zsh-in-docker.sh)" -- \
28-
-p git -p ssh-agent \
27+
RUN sh -c "$(curl -sSL https://github.com/deluan/zsh-in-docker/releases/download/v1.1.1/zsh-in-docker.sh)" -- \
28+
-p git -p ssh-agent -p history-substring-search \
2929
-p https://github.com/zsh-users/zsh-autosuggestions \
3030
-p https://github.com/zsh-users/zsh-completions \
31-
-p https://github.com/zsh-users/zsh-history-substring-search \
32-
-p https://github.com/zdharma/fast-syntax-highlighting
31+
-p https://github.com/zdharma/fast-syntax-highlighting \
32+
-a '[ -f /workspaces/contentful-migrate/.envrc ] && eval "$(direnv hook zsh)"'
3333

3434
# Override Powerlevel9(10)k prompt provided by zsh-in-docker
3535
RUN echo 'POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(root_indicator dir vcs status)' >> ~/.zshrc
3636

37-
# Configure direnv (https://direnv.net/)
38-
RUN echo '[ -f /workspaces/contentful-migrate/.envrc ] && eval "$(direnv hook zsh)"' >> ~/.zshrc
39-
4037
# Switch back to dialog for any ad-hoc use of apt-get
4138
ENV DEBIAN_FRONTEND=

0 commit comments

Comments
 (0)