On Sat, Feb 11, 2017 at 09:59:36AM -0800, m...@lamarciana.com wrote: > > 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' >
try this: qvm-run -a -p qube "echo $0" and: qvm-run -a -p qube "ps aux" You may be surprised. -- 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 qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20170211233845.GC14849%40thirdeyesecurity.org. For more options, visit https://groups.google.com/d/optout.