mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
Load utils.zsh from /src instead the root filesystem (allows overriding it via a vol mount)
This commit is contained in:
parent
10ed7860c9
commit
fc65d8913b
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue