Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
can combination of zstyle -e and -a cause infinite loop?
- X-seq: zsh-users 18556
- From: Amm <ammdispose-zsh@xxxxxxxxx>
- To: "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>
- Subject: can combination of zstyle -e and -a cause infinite loop?
- Date: Tue, 4 Mar 2014 16:45:07 +0800 (SGT)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1393922707; bh=AaWMJEkUJfeppM5oed6aSmzrG0RSzstaqBpw2y/Gsk4=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=jrDtZa2B/4sXA1r1DR/osNmt2JJDMt+zsQRTN8eYVnYipafZsLOfh2KhxZH/nRpOa0dRgCTiFdwyM4ln7Wp7EWD+KicvpBX38R+dcRvaJexancPGICDDTKRMCOAd9gHTWbEd0FV3XumUrdvsZ1e5GiH7CesNYabHJ6Rac9PAsos=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dDxMzIEnMASrlrPNXQ4300pUJgxtnctpWgFPuTucbi6nRYgNKqTc7L5ZmJZXjzcrIJpvVAqxq6mOD2lzWpvZzKKRrduQq/c300Yo6XzGxI+TtPCpUkQnH/nG90cg165fgTwnKI7odM8Da2aPQCg9h9H2dBrlcW7abGOOlSOHjrk=;
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Reply-to: Amm <ammdispose-zsh@xxxxxxxxx>
Hello,
I got this curious question when trying to find
solution of something else.
(based on Bart's solution in some other e-mail)
if I use zstyle like this:
zstyle -e ':completion:*' matcher-list \
'zstyle -a ":completion:$curcontext" matcher-list reply'
OR
if I write something like this in two lines:
zstyle -e ':completion:*' matcher-list \
'zstyle -a ":completion:b" matcher-list reply'
zstyle -e ':completion:b' matcher-list \
'zstyle -a ":completion:a" matcher-list reply'
Will any of the two cases above cause infinite loops?
Or zsh will detect these loops?
Just curious to know, I have not tried! :fear:
Amm
Messages sorted by:
Reverse Date,
Date,
Thread,
Author