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

Re: zsh doesn't complete for tar, zip, possibly other files



On Mar 15,  2:40pm, Benjamin R. Haskell wrote:
} Subject: Re: zsh doesn't complete for tar, zip, possibly other files
}
} ==> badzshrc <==
} zstyle ':completion:*' file-sort access
} zstyle ':completion:*' matcher-list '' 'l:|=* r:|=*' 'r:|[._-]=** r:|=**' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}'
} autoload -Uz compinit
} compinit
} ================
} 
} $ zsh -f
} $ . ./badzshrc
} $ tar xvf [Tab]
} 
} At that point, ^xh produces:
} 
} tags in context :completion::complete:tar::
}      globbed-files  (_files _tar_archive _tar (eval))

Using the latest build out of the source repository:


torch% print $ZSH_VERSION $ZSH_PATCHLEVEL
4.3.11-dev-1 1.5223
torch% zstyle -L
zstyle ':completion:*' file-sort access
zstyle ':completion:*' matcher-list '' 'l:|=* r:|=*' 'r:|[._-]=** r:|=**' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}'
torch% tar xvf
tags in context :completion::complete:tar::
    globbed-files  (_files _tar_archive _tar (eval)) 
    directories    (_files _tar_archive _tar (eval)) 
    all-files      (_files _tar_archive _tar (eval))


So whatever this was, it's already been fixed.



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