From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10268 invoked by alias); 18 May 2011 16:19:43 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16042 Received: (qmail 21778 invoked from network); 18 May 2011 16:19:41 -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=-0.2 required=5.0 tests=BAYES_00,RDNS_DYNAMIC, TO_NO_BRKTS_DYNIP,TVD_RCVD_IP autolearn=no version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at lupine.org designates 108.83.101.33 as permitted sender) Date: Wed, 18 May 2011 09:19:38 -0700 From: Jay 'Whip' Grizzard To: zsh-users@zsh.org Subject: Formatting issues with completion grouping.. help? Message-ID: <20110518161938.GB10668@zash.lupine.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) Hi zsh users. I have a problem... I've consulted google, I've consulted the mailing list archives, I've consulted the docs, and I'm stumped. I haven't seen anyone else mention this, so I'm assuming I'm doing something wrong, but I can't figure out what it is. The really short version is that when I turn on grouping of completion results, the response puts the headers for the groups all together at the top of the result, and then the results intermingled below that. e.g: [grizzard@zash]~% sh u ---- external command ---- builtin command ---- reserved word ucd5820stat until udev unwrapdiff udev.static unzip udev_volume_id unzipsfx udevd up2date [etc] I narrowed this down to the most straightforward test case I could, using an empty home directory (so no zsh config) on a pretty bare system and a fresh environment-cleansing su: bash$ su - grizzard bash$ pwd /home/grizzard bash$ ls -al total 8 drwxr-xr-x 2 grizzard root 4096 May 18 09:11 . drwxr-xr-x 7 root root 4096 May 18 07:34 .. bash$ exec /bin/zsh [grizzard@zash]~% autoload -U compinit [grizzard@zash]~% compinit [grizzard@zash]~% setopt auto_list bash_auto_list complete_aliases complete_in_word list_types [grizzard@zash]~% zstyle ':completion:*:matches' group 'yes' [grizzard@zash]~% zstyle ':completion:*:descriptions' format "%B---- %d%b" [grizzard@zash]~% sh u ---- external command ---- builtin command ---- reserved word ucd5820stat until udev unwrapdiff udev.static unzip udev_volume_id unzipsfx udevd up2date [etc] This happens on several different systems with several different zsh builds, but here's the vitals from one of them: [grizzard@zash]~% zsh --version zsh 4.2.0 (x86_64-redhat-linux-gnu) [grizzard@zash]~% cat /etc/redhat-release Red Hat Enterprise Linux AS release 4 (Nahant Update 8) [grizzard@zash]~% echo $TERM xterm (also happens with TERM=vt100 and TERM=dumb) And another system it happens on: [grizzard@wherever]~% zsh --version zsh 4.3.10 (i386-redhat-linux-gnu) [grizzard@wherever]~% cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.0 (Santiago) So... guys... what am I missing? Help? Thanks! :) -jay