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 39227
- 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 11:28:38 -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=G9qOiYtnfcZ9W5FJ2D6fQnvfM8cqv3+AoE/cGFZk/kE=; b=SUYgEj/OBiRCBLm/jiXeAJVF31OMhmSdL2m0rosVVyMEHxrf5LUbh2ThghMZVDrllS j3pmzIBH1bwNs2N/q7YsB7z9naR4hV5hbhAso5jHY+PeVsEZLLznKvZ4BwiYYGUZz7kG KZFC67Hl6jLe6VkHWJvjhkdLG6JLRb/cRLF8c1IbYtdzielfhMeIbMdo2vS1f12P7Jzx mfRrz06eHeKcEOEFAgkP+y+7S1r+r/TNUmGDcE6Vi4sPnXk8HmF/lXs1Q7NsYg3AHmvW kAHLbvj4lIGZPB3cSk/v6ZwUGWmTP+touyKqE7rxhdyygkpEI2tM9AiJ5JUYutNLo/V0 W55g==
- In-reply-to: <CAKc7PVC93FCfC1Xn9keAEyBaiHfaV+_nbKSUzhmwKLmmm4soMg@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>
On Sep 7, 12:39pm, Sebastian Gniazdowski wrote:
}
} It seems that pat="<full-featured zsh pattern here>" and then using
} GLOB_SUBST via $~pat with SH_GLOB temporarily turned off should solve this?
} But what about (N[1]) etc. modifiers...
If SH_GLOB is turned off, glob qualifiers are handled like any other
part of the pattern, so no difference here.
I'm thinking about a far away
} possibility that one could fully work with emulate sh, having completions
} not reporting errors.
I've lost track of this thread. What present error is being addressed?
Seems to me that completion uses zsh syntax internally, so you'd be more
likely to have an error in the other direction, i.e., the command line
expects SH_GLOB but the internals treat it like zsh ...?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author