From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26757 invoked by alias); 15 Mar 2011 18:05:36 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 15870 Received: (qmail 11136 invoked from network); 15 Mar 2011 18:05:34 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 74.125.82.43 as permitted sender) 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= MIME-Version: 1.0 Sender: purplelewiz@gmail.com From: Lewis Thompson Date: Tue, 15 Mar 2011 18:03:46 +0000 X-Google-Sender-Auth: u2Ybf1liQufgivssSJOffrwf3t0 Message-ID: Subject: zsh doesn't complete for tar, zip, possibly other files To: zsh-users@zsh.org Content-Type: text/plain; charset=ISO-8859-1 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