You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: