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

Re: Best practices for managing aliases in ohmyzsh?



On Wed, Sep 1, 2021 at 12:12 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
>   Of course.  Like a sourced script, an 'executable' creates it's own
> fresh environment.  Doh.   I really should have figured that out.

No, you're still misunderstanding (or making typos).  A sourced script
DOES NOT create its own fresh environment, it affects the environment
of the program that sources it.




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