> Yes, I know - that's why I said "using bash". > You are using zsh, so you said, so you need to put the path in ~/.zprofile > > For example, with simple script 'logit' in home/user/newpath: > > qvm-run -a -p qube logit > fails with "logit: not found" > > append path=('home/user/newpath' $path) to ~/.zprofile > Then qvm-run succeeds
Yeah, you are right, this works. Thank you very much. But I don't quite understand. I guess that I'm opening an interactive non-login shell, but ~/.zprofile is sourced while ~/.zshrc isn't, while, from http://zsh.sourceforge.net/Intro/intro_3.html: > `.zshrc' is sourced in interactive shells > [...] > `.zlogin' is sourced in login shells. [...] `.zprofile' is similar to > `.zlogin', except that it is sourced before `.zshrc' -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to email@example.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/210bafbe-7d03-4752-a0ef-87162a6c6523%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.