Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
compset -q oddities
- X-seq: zsh-workers 39272
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: compset -q oddities
- Date: Sun, 11 Sep 2016 07:30:31 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=b0z zM0oKXWTurAKtdEx+2p3CLGw=; b=zx4rvBxMyafZmmXttMz3xBLQfeT5gqu4RCB uWdXTdJOaYV+87Vpq772DaMt0fSS3y99RJkZKpsQev5GEa/LkYE1T1laKoda1/SR pRhJm1AhzzeD9gQ+PUsHRiRfDfEqPgDyHgUD103I0VcLok4rJubXGCWlNUJHRs4N 83qaYrRo=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=b0 zzM0oKXWTurAKtdEx+2p3CLGw=; b=AJ8K+x9MNXuV81qOksMztJWoDPeKQ4Vp8V OeoN73MJcvH+zJJHFz9+oxHraembYtC3X+5OLfwAj1QDWqJ4oB/OQLsIZh/AAmFG KLtvwo1sYn5ERyDJXj/SBCTr7i6XsuuSZkl1BsIxzY5/DZ+aSaZazdrWGwxbPmr0 bmNGNu62A=
- 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
I managed to break a few things while composing a reply to 39265:
1.
% _f() { compset -q ; compadd "~~~" }
% compdef _f f
% f <TAB><TAB>
<becomes>
% f \\\~\\\~\\\~\\\~\\\~\\\~
2.
% _g() { compset -q }
% compdef _g g
% g $'\'<TAB>
compcore.c:1657: expecting 'x' at offset 2 of "'x"
3.
% _h() { repeat 2 compset -q; compadd foo }
% compdef _h h
% h "\$'<TAB>
<becomes>
% h "$'foo<TAB>
utils.c:6826: BUG: unterminated $' substitution
Messages sorted by:
Reverse Date,
Date,
Thread,
Author