From: Lewis Thompson <purple@lewiz.net>
To: zsh-users@zsh.org
Subject: zsh doesn't complete for tar, zip, possibly other files
Date: Tue, 15 Mar 2011 18:03:46 +0000 [thread overview]
Message-ID: <AANLkTi=uth8SAmJC5yxUkzBYHAB-aMyPbpYhBUVPGiky@mail.gmail.com> (raw)
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
next reply other threads:[~2011-03-15 18:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-15 18:03 Lewis Thompson [this message]
2011-03-15 18:40 ` Benjamin R. Haskell
2011-03-16 9:42 ` Lewis Thompson
2011-03-16 14:43 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=uth8SAmJC5yxUkzBYHAB-aMyPbpYhBUVPGiky@mail.gmail.com' \
--to=purple@lewiz.net \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).