zsh-users
 help / color / mirror / code / Atom feed
* zsh doesn't complete for tar, zip, possibly other files
@ 2011-03-15 18:03 Lewis Thompson
  2011-03-15 18:40 ` Benjamin R. Haskell
  0 siblings, 1 reply; 4+ messages in thread
From: Lewis Thompson @ 2011-03-15 18:03 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-16 14:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-15 18:03 zsh doesn't complete for tar, zip, possibly other files Lewis Thompson
2011-03-15 18:40 ` Benjamin R. Haskell
2011-03-16  9:42   ` Lewis Thompson
2011-03-16 14:43   ` Bart Schaefer

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).