Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: --init-file option



Create a directory "virtualenv" with the appropriate configuration in
virtualenv/{.zshenv,.zshrc,.zprofile,.zlogin} and use
  env ZDOTDIR=virtualenv zsh ...

most likely you want virtualenv/.zshrc to be "source $HOME/.zshrc ;
source xxx" and everything else to merely source the corresponding
$HOME file.

Adjust for absolute paths as needed.  A bit of extra work required if
you want to preserve an existing $ZDOTDIR before replacing it.




Messages sorted by: Reverse Date, Date, Thread, Author