File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
3535RUN 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
4138ENV DEBIAN_FRONTEND=
You can’t perform that action at this time.
0 commit comments