Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
	autolearn=ham autolearn_force=no version=3.4.0
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==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:message-id:date:in-reply-to:comments
         :references:to:subject:mime-version:content-type;
        bh=hsHqJba97TthtE0ecVnt69BevOx49Wsxpgg5WDe/2v4=;
        b=Fxt6pyv0f3UfLOodCGBAWSHZVcOk83PNVjW8UpzQXG6t9c8WXtcLtvxWmKow8W3kwz
         THNMfetdMlloqvevee0j34umQNPr14QROuRzonEEOCd6QIvTQlLICSI79EcHtUG8rjJX
         YVIo/YdBuzE2HvFM9KDq1T/NiFU6JCJvtZEATahGeNNbbKJTTyy+hnpilG6AxYQsLRMs
         svSUu7Yt8EYyEg2NJUwDoshcM+j+RlJSIKbyp8AEyYVpZ+LCI3U4f1ituXv6dAcg4Qjb
         IHVqUSGvrLoqnS6AO04x4nDHo76jqyzdMJGFYrnXD/tj+nN9ucS2LykOKkJyYmpr7ccg
         mMhA==
X-Gm-Message-State: ALoCoQmC6cS30A92Z04uIcPNZiYJqqyQ3vl89S0Ro+8A/sqzSzJftyRHCIEkRlZSaL4u2jERUzEXLrKvz9skHLiY4ptAAd+6Nw==
X-Received: by 10.98.64.142 with SMTP id f14mr32763612pfd.83.1452585462813;
        Mon, 11 Jan 2016 23:57:42 -0800 (PST)
From: Bart Schaefer <schaefer@brasslantern.com>
Message-Id: <160111235757.ZM6806@torch.brasslantern.com>
Date: Mon, 11 Jan 2016 23:57:57 -0800
In-Reply-To: <CAKc7PVCnEX1rEhNqhtx7spyUVKCWukz4Tzkqr27-OV9+4hVciQ@mail.gmail.com>
Comments: In reply to Sebastian Gniazdowski <sgniazdowski@gmail.com>
        "_history-complete-older problems with $(" (Jan 10,  8:35pm)
References: <CAKc7PVCnEX1rEhNqhtx7spyUVKCWukz4Tzkqr27-OV9+4hVciQ@mail.gmail.com>
X-Mailer: OpenZMail Classic (0.9.2 24April2005)
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: _history-complete-older problems with $(
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Seq: zsh-workers 37575

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

