Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cyrfinup/install doesn't work with non-interactive zsh shells #778

Open
0ximmeas opened this issue Nov 11, 2024 · 0 comments
Open

cyrfinup/install doesn't work with non-interactive zsh shells #778

0ximmeas opened this issue Nov 11, 2024 · 0 comments

Comments

@0ximmeas
Copy link

0ximmeas commented Nov 11, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant