zigup icon indicating copy to clipboard operation
zigup copied to clipboard

zigup fails if `~/.local/bin` does not exist

Open austin226 opened this issue 1 year ago • 0 comments

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?

austin226 avatar Oct 08 '24 03:10 austin226