Describe the bug.zshrc is only sourced in interactive shells. This makes it difficult to use the install script and cyfrinup in non-interactive shells, for example, Dockerfiles. .zshenv is sourced in all shells hence a better file to use.
To Reproduce
Add the following to a Dockerfile and run it:
RUN curl -L https://raw.githubusercontent.com/Cyfrin/aderyn/dev/cyfrinup/install | zsh
RUN cyrfinup
Expected behavior
For cyfrinup to be sourced in non-interactive zsh shells.
Screenshots
n/a
Desktop:
n/a
Additional context
As a reference, this is the same way that foundryup is sourced.
Describe the bug
.zshrc
is only sourced in interactive shells. This makes it difficult to use the install script andcyfrinup
in non-interactive shells, for example, Dockerfiles..zshenv
is sourced in all shells hence a better file to use.To Reproduce Add the following to a Dockerfile and run it:
Expected behavior For
cyfrinup
to be sourced in non-interactive zsh shells.Screenshots n/a
Desktop: n/a
Additional context As a reference, this is the same way that
foundryup
is sourced.