Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh doesn't complete for tar, zip, possibly other files
- X-seq: zsh-users 15870
- From: Lewis Thompson <purple@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: zsh doesn't complete for tar, zip, possibly other files
- Date: Tue, 15 Mar 2011 18:03:46 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=erk7gy3/k/AAGv83qjlv0S6+mykzsL59dG2rWQgn0OE=; b=D+DVjp4hgoY2x9o13ckaeI3yM/RwLP37Bmqj+rdgDBL/hirglZu4TDEQXrsR9etIWw kl5XYLyQyjXLxueEmibvQI5hizyMYblq4wtFOM4cuhGLPpngJmAmd30Vz74/97nzAxbd 0FR8QQ++1p0S5fpu0MUuk+VR/8uGXPgpi+JoU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=Wl4ae5UBaFDE9+T3gAeuNXHYB/vUbN46f7Jo3nQwjwrG17qiCdqcK2PnMEOgdGe5Am ZgHMLSyKz/3QCFAVGSd/ynAHCyuf9JcY3bIp014WPk6HAg3AC+FAlzjC7+/csF1j+icX 7tPMpfJPzOCtLMTou/RI/QK9r6bCvaD767nh8=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Sender: purplelewiz@xxxxxxxxx
Hi guys
The subject is pretty much my problem. I'd be very grateful if
anybody is able to help me resolve this one.
cheers, Lewis
partlow ~ % ls *.zip
First Ascent - Disk 2.zip First Ascent - DVD Extras.zip foo.zip
partlow ~ % unzip [hammering TAB]
Interestingly for tar I get different results:
partlow ~ % ls *.tar
foo.tar
partlow ~ % tar [TAB]
A -- append to an archive
c -- create a new archive
f -- specify archive file or device
t -- list archive contents
u -- update archive
v -- verbose output
x -- extract files from an archive
partlow ~ % tar xvf [hammering TAB]
So clearly completion is trying to do something. Other useful info:
partlow ~ % zsh --version
zsh 4.3.10 (x86_64-unknown-linux-gnu)
I believe these are all of my completion settings in .zshrc:
# The following lines were added by compinstall
zstyle ':completion:*' completer _complete _ignored _approximate _prefix
zstyle ':completion:*' expand suffix
zstyle ':completion:*' file-sort access
zstyle ':completion:*' ignore-parents parent pwd ..
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' list-prompt '%SAt %p: Hit TAB for more, or the
character to insert%s
'
zstyle ':completion:*' matcher-list '' 'l:|=* r:|=*' 'r:|[._-]=**
r:|=**' 'm:{[:lower:][:up
per:]}={[:upper:][:lower:]}'
zstyle ':completion:*' max-errors 3 numeric
zstyle ':completion:*' menu select=1
zstyle ':completion:*' preserve-prefix '//[^/]##/'
zstyle ':completion:*' prompt 'list of corrections numerrs=%e'
zstyle ':completion:*' select-prompt '%SScrolling active: current
selection at %p%s'
zstyle ':completion:*' squeeze-slashes true
zstyle :compinstall filename '/home/lt203398/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
# kill pid/process tab-complete list
zstyle ':completion:*:*:kill:*' menu yes select
zstyle ':completion:*:kill:*' force-list always
Messages sorted by:
Reverse Date,
Date,
Thread,
Author