Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Completion and dircolors problem



[latest zsh]

Hi,

I've got a problem in connection with completion: the listing (for 
instance like in "ls /bin/<TAB>") is not aligned and scrambled with 
spurious "argetm" prefixes (see below[1]).

I tracked it down to the following setting in ~/.dircolors:
LINK  target  # symbolic link ('target' = color is as for the file
              # pointed to)

Can someone of the zsh developers have a look at that? Might be an issue 
on the zsh side or on the dircolors side.

(Bash (at least in my setup) doesn't have this problem. Well, bash 
doesn't do coloured completion listings - so that might be the reason.)


Thorsten
[1]
ACTUAL OUTPUT:
files
attr*        argetmawk@             basename*    bash*           argetmbb@         argetmbunzip2@
busybox*     argetmbusybox.static@  argetmbzcat@       bzip2*          cat*        chattr* 
chgrp*       chmod* ls /bin/                                                         ~
cut*         date*            dd*          df*             dir*        dirname*
dmesg*       argetmdnsdomainname@   argetmdomainname@  du*             echo*       ed*     
egrep*       env*             expr*        false*          fgrep*      fuser*  
argetmgawk@        gawk-3.1.6*      getfattr*    grep*           groups*     gunzip* 
gzip*        head*            hostname*    argetmigawk@          kill*       ln*     
loadkeys*    login*           ls*          lsattr*         lsmod*      mbchk*  
mkdir*       mkfifo*          mknod*       mktemp*         more*       mount*  
mountpoint*  mv*              netstat*     argetmnisdomainname@  passwd*     argetmpgawk@  
argetmpidof@       ping*            ps*          pwd*            argetmrbash@      argetmrc-status@
readlink*    argetmred@             rm*          rmdir*          run-parts*  argetmrzsh@   
sed*         seq*             setfattr*    setfont*        setserial*  argetmsh@     
sleep*       sort*            stty*        su*             sync*       tail*   
tar*         tempfile*        touch*       tr*             true*       tty*    
umount*      uname*           argetmuncompress@  uuidgen*        vdir*       wc*     
yes*         argetmypdomainname@    zcat*        zsh*

-- WITHOUT "LINK  target":
files
attr*        awk@             basename*    bash*           bb@         bunzip2@
busybox*     busybox.static@  bzcat@       bzip2*          cat*        chattr* 
chgrp*       chmod*           chown*       chroot*         cp*         cpio*   
cut*         date*            dd*          df*             dir*        dirname*
dmesg*       dnsdomainname@   domainname@  du*             echo*       ed*     
egrep*       env*             expr*        false*          fgrep*      fuser*  
gawk@        gawk-3.1.6*      getfattr*    grep*           groups*     gunzip* 
gzip*        head*            hostname*    igawk@          kill*       ln*     
loadkeys*    login*           ls*          lsattr*         lsmod*      mbchk*  
mkdir*       mkfifo*          mknod*       mktemp*         more*       mount*  
mountpoint*  mv*              netstat*     nisdomainname@  passwd*     pgawk@  
pidof@       ping*            ps*          pwd*            rbash@      rc-status@
readlink*    red@             rm*          rmdir*          run-parts*  rzsh@   
sed*         seq*             setfattr*    setfont*        setserial*  sh@     
sleep*       sort*            stty*        su*             sync*       tail*   
tar*         tempfile*        touch*       tr*             true*       tty*    
umount*      uname*           uncompress@  uuidgen*        vdir*       wc*     
yes*         ypdomainname@    zcat*        zsh*



Messages sorted by: Reverse Date, Date, Thread, Author