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

zigup fails if ~/.local/bin does not exist #150

Open
austin226 opened this issue Oct 8, 2024 · 0 comments
Open

zigup fails if ~/.local/bin does not exist #150

austin226 opened this issue Oct 8, 2024 · 0 comments

Comments

@austin226
Copy link

When running zigup 0.14.0-dev.1710+8ee52f99c, the script fails at this command:

ln -s '/home/<user>/zig/0.14.0-dev.1710+8ee52f99c/files/zig' '/home/<user>/.local/bin/zig'

error: FileNotFound

I fixed the error with mkdir $HOME/.local/bin. Running zigup again, I got a more helpful error:

error: the path link '/home/<user>/.local/bin/zig' is not in PATH

This was fixed with the command: export PATH="$HOME/.local/bin:$PATH"


Should at least the first step be added to the script?

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