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

Re: key binding not working



On Sun, Sep 25, 2022, at 9:16 PM, Ray Andrews wrote:
> Some config issue I think.
> 'good' version is: " zsh 5.8 (x86_64-pc-none) " ... that's the 
> 'non-Debian'.  But if I do:
>
>      $ zsh -f; . /root/.zshrc
>
> ... I'm expecting basically an identical result to just:
>
>      $ zsh

The first command runs a NO_RCS shell and then sources /root/.zshrc
*in the calling shell, after the NO_RCS shell exits*.  It is not
analogous to the second command at all.

    outer% PS1='inner%% ' zsh -f; . <(print print done)
    inner% exit
    done
    outer%

-- 
vq




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