From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4777 invoked from network); 16 Sep 2004 13:45:14 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 16 Sep 2004 13:45:14 -0000 Received: (qmail 46748 invoked from network); 16 Sep 2004 13:45:07 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 16 Sep 2004 13:45:07 -0000 Received: (qmail 4426 invoked by alias); 16 Sep 2004 13:44:56 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8000 Received: (qmail 4409 invoked from network); 16 Sep 2004 13:44:55 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 16 Sep 2004 13:44:55 -0000 Received: (qmail 45310 invoked from network); 16 Sep 2004 13:43:56 -0000 Received: from blackbeard.valdosta.edu (168.18.130.103) by a.mx.sunsite.dk with SMTP; 16 Sep 2004 13:43:54 -0000 Received: from blackbeard.valdosta.edu (localhost [127.0.0.1]) by blackbeard.valdosta.edu (8.13.1/8.13.1) with ESMTP id i8GDhRUE005840 for ; Thu, 16 Sep 2004 09:43:27 -0400 Received: (from keef@localhost) by blackbeard.valdosta.edu (8.13.1/8.13.1/Submit) id i8GDhRV1005839 for zsh-users@sunsite.dk; Thu, 16 Sep 2004 09:43:27 -0400 X-Authentication-Warning: blackbeard.valdosta.edu: keef set sender to zsh@local7.info using -f Date: Thu, 16 Sep 2004 09:43:27 -0400 From: keef To: zsh-users@sunsite.dk Subject: 2 things Message-ID: <20040916134327.GA5613@blackbeard.valdosta.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i User-Agent: Mutt (grrrrr edition) X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 1) consider: zstyle ':completion:*:(vi|m):*' ignored-patterns \ '*.(a|au|bmp|bz2|divx|dvi|gif|gz|jpeg|jpg|mp|mp3|mpeg|mpg|o \ |pdf|png|ps|ra|rar|swx|tar|tar.bz2|tar.gz|tgz|xbm|xpm|Z|zip)' works great, I cant get enough. However, I would like to ignore directories as well.. I have tried '*(-/)' '(*/)' and many combinations inbetween but with no luck whatsoever... I have auto_param_slash and mark_dirs set... Is this ok ? Any thoughts on how I might accomplish ignore-directories as well as the previous extensions? 2) consider: /home/niceguy/somedir% ls wfiles.pdf xfiles.pdf in my .zshrc is have an alias -s set up to assocate all pdfs with xpdf ... so, ideally I would like to type x but when that happenes zsh looks through my path and completes binaries I feel confident that somehow zsh will start matching in pwd ( in another way than putting . 1st in my path) so that instead of xp I can just x im trying to use: zstyle ':completion:*' local-files but know im going about this completly wrong... If anyone can point out which chapters of the zsh manual (or users manual) I need to re-read, or if there is something 'basic' I am missing, or if you can point out that either/both of these things simply arent possible, I would greatly apprecate this. Thank you very much for your time.