Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _history-complete-older problems with $(
- X-seq: zsh-workers 37575
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: _history-complete-older problems with $(
- Date: Mon, 11 Jan 2016 23:57:57 -0800
- 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:content-type; bh=hsHqJba97TthtE0ecVnt69BevOx49Wsxpgg5WDe/2v4=; b=cNyuWtpksk3x60G2LVjrl34gQPnCPjBlTCrsfcg8RngKxJIyPz8T+0cPmnVw+sonvI yGNlt78oqtTMbB0kS3FgL+xdlLdFlQbjzzwn9Kc3Y8doTHYDJTEp9m1yKi6d5bunLxpj ep6qd/MRgrUCguE3f2zXb5gIRO+Ew1OLX/DjkKzE57HuK1msfs8r0PlocTLhYwMMKPon xIY5mI+Iod38iHYe1rSXKQKHQhS4/BDkmDcODjhAvL8+VMa+8cEGJphdCx40E5kKnwQo QpO/w4VAqwYe7hmiVlrpCDSPOwD1F82lcV1bRG5BLcvVVSXR5c6WNN4M13eOed3vME13 eTXg==
- In-reply-to: <CAKc7PVCnEX1rEhNqhtx7spyUVKCWukz4Tzkqr27-OV9+4hVciQ@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: <CAKc7PVCnEX1rEhNqhtx7spyUVKCWukz4Tzkqr27-OV9+4hVciQ@mail.gmail.com>
On Jan 10, 8:35pm, Sebastian Gniazdowski wrote:
}
} $(<Alt-/> doesn't complete $(( 0+1 )) correctly.
}
} zstyle ':completion:*:history-words' remove-all-dups true
}
} Also, the remove-all-dups zstyle doesn't work
So, just for the record, we've confirmed that:
The $( thing is because completion starts a new command context in a
subshell.
The remove-all-dups thing is because I gave the wrong style context, it
should be
zstyle ':completion:history-words:*' remove-all-dups true
Messages sorted by:
Reverse Date,
Date,
Thread,
Author