Load utils.zsh from /src instead the root filesystem (allows overriding it via a vol mount)

This commit is contained in:
Philipp Schmitt 2021-11-19 20:05:54 +01:00
parent 10ed7860c9
commit fc65d8913b
No known key found for this signature in database
GPG key ID: DC439C47EACB17F9
2 changed files with 2 additions and 3 deletions

View file

@ -24,7 +24,6 @@ VOLUME ["/src"]
COPY --chown=${PUSERNAME} . /src
COPY --chown=${PUSERNAME} ./docker/zshrc /home/${PUSERNAME}/.zshrc
COPY ./docker/utils.zsh /utils.zsh
USER ${PUSERNAME}
# RUN zsh -ic "ZINIT_ZSH_VERSION=${ZINIT_ZSH_VERSION}; source /home/${PUSERNAME}/.zshrc"

View file

@ -1,8 +1,8 @@
# load zinit
source /src/zinit.zsh
# load zinit utilities
source /utils.zsh
# load zinit setup utility functions
source /src/docker/utils.zsh
# Add ZPFX/bin to PATH
typeset -U path