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

Re: allow zsh to source a script and then become interactive



Thanks all - I'm happy to have three solutions I can use now. 

Would it be worth actually adding a new, invocation flag? say

        zsh -fi --rcfile $sourcefile

It would be simpler, bash and ksh already have this flag and it would be
useful.

	Anthony.

On 15 Apr 2017 at 15:40:08, Daniel Shahaf wrote:
> Bart Schaefer wrote on Fri, Apr 14, 2017 at 19:45:30 -0700:
> > However, I tried it, and PS1 is imported by zsh built from current git.
> 
> Ah, my bad.  (I normally run Src/zsh with a custom zshrc that sets fpath,
> but it also sets $PS1, which I forgot about.)



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