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

Re: function definition with & operator



On Fri, Sep 1, 2017 at 11:09 AM, Eric Cook <llua@xxxxxxx> wrote:
> The other week when messing around i noticed that you can define an function
> in (what i thought would be) the background and it will remain in defined.

Background jobs are always run in a subshell, even if you use the {
command } syntax.  There is no such thing as a background job in the
current shell.



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