From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6560 invoked by alias); 17 Jan 2011 09:52:31 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28636 Received: (qmail 228 invoked from network); 17 Jan 2011 09:52:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.216.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=RWb8nP1lvJJiKjUTDdTO92t2PaYP0eirxdx8zCzM+H0=; b=szcWtZd0nPSP2cD+AHP8G3flIbcuHPI9zfRUhs9WDCKu6EqbJ1I7zjgF/cXAKgKAQE 5kEhr2fxDedjhgpxlh3Yrw2BXjq+poNncyEYfK6WMq0Fi6rBTw1p3oZ72SkLI5YltTjb 7a9adFnqqjtTBWgQCahMRoXhKTc+EO33Z3vog= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=vN+HhJp4F6tyoc1jiRMXSH/PrfN3A6vhq6H81VONw9FjFjfGPDx1Um2cN2m76bhoQ3 ltL0FrZs7ZkJiSoe15W9rmpciqNoJ1y/fbl6tN82DycrEKv3Inv8KPjCsizsEa11C69/ v6xBV1xHG2wqKpCRRhOpDA+52PpubZ6eEOAb8= MIME-Version: 1.0 From: cheer_xiao Date: Mon, 17 Jan 2011 17:51:56 +0800 Message-ID: Subject: Slow completion when using aptitude To: zsh-workers@zsh.org Content-Type: text/plain; charset=UTF-8 Hi zsh users and hackers, I'm running Ubuntu 10.04 on my box. I have found that tab-completion for package names is slow when I use aptitude; however when I try apt-get instead, the completion is almost instinct. I Google-ed and found out that zsh switches to apt-cache policy for package name completion some years ago, due to slow completion. I suspect that that switch didn't take aptitude into concern, and it shouldn't be hard to fix. Anyone willing to look into this? I'm using the version from git repo. And another small related issue: the command tab-completion of zsh doesn't seem to know aptitude build-dep, which has been around for a few years but (unfortunately) undocumented. The bash that comes with Ubuntu knows this.