Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: SH_GLOB influence on a script and on an autoload function
- X-seq: zsh-workers 39232
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: SH_GLOB influence on a script and on an autoload function
- Date: Wed, 7 Sep 2016 16:48:54 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=yN/WCYwE4dubc9q+hZE3uH+kGm8sXwckmpQyR49P/nw=; b=UAa+VVTeV5dpGH3sIrFSxhtPWZtdJATB1PSgG/MdOkkcRXgRMoKZIiAtaLUyDykiuF PhrL3aBlQGMRWefKmTWW39ZP+hJg0eUJPDhCPA7FqQCmiMISOWmQ20rHGmDAaYCdxJBV itQJ5Jilse1IfygCPhUT6s3HydU0Dv5j/8rbpB2oNNLdzsZOTPITgRdAUbIAJUl9k/sy k41cxOSILUrLJlfxU7XS+Y235s7tyHFw5ljouu7bdKUIsRLfMRcIo4sPFr3YhnllH/X0 O8VaeecQ25cclackNlEe+HsEvwgD39WQ35n1r1enUsJgHFSNn0eVUSaVfrSO11oBUv+v qidA==
- In-reply-to: <CAKc7PVDd_e=-mDbfwG4j3010JD9CbdrpuaLM_wOnsaz+EqP1VQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVBSCgG4Y87L_PzCEWDk=-cQLFmLxwps_rfvUUuhA-Np+w@mail.gmail.com> <160611101412.ZM12850@torch.brasslantern.com> <CAKc7PVC93FCfC1Xn9keAEyBaiHfaV+_nbKSUzhmwKLmmm4soMg@mail.gmail.com> <160907112838.ZM13919@torch.brasslantern.com> <CAKc7PVDd_e=-mDbfwG4j3010JD9CbdrpuaLM_wOnsaz+EqP1VQ@mail.gmail.com>
On Sep 7, 9:01pm, Sebastian Gniazdowski wrote:
}
} I sometimes think about making emulate sh a possible interactive setting.
} Let it just be that one would be able to temporarily switch to sh to check
} something and then switch back. Currently there are errors reported
Oh. Try this:
emulate zsh -c 'autoload compinit'
This makes zsh emulation "sticky" for all of the completion functions,
and all the functions loaded from the completion functions, etc., etc.,
which assures those functions are parsed in zsh native mode no matter
what setopts may end up in effect during their execution.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author