pkgxdev / pkgx

the last thing you’ll install

Home Page:https://pkgx.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pkgx integrate permission denied

donferi opened this issue · comments

Just installed pkgx via curl and when I try to run pkgx integrate I get a deno permission error.

❯ pkgx integrate
× unexpected error Permission denied (os error 13): open '/Users/donferi/.zshrc'
│ PermissionDenied: Permission denied (os error 13): open '/Users/donferi/.zshrc'
│     at Object.open (ext:deno_fs/30_fs.js:574:26)

what does ls -l /Users/donferi/.zshrc show? it's trying to write to it, but it's not able to.

lrwxr-xr-x - donferi  9 Dec 11:00 /Users/donferi/.zshrc -> /nix/store/nvq7f5iv7hnvzaskzqqqab18lfcahhi3-home-manager-files/.zshrc

Ah it's a symlink, read only. I have a ~/local.zsh is there a way I can make pkgx integrate use that file instead?

all it does is add source <(pkgx --shellcode) #docs.pkgx.sh/shellcode, so you can just do that.

Thanks!