Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Envelope-Sender-Is: Andrej DOT Borsenkow AT mow DOT siemens DOT ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "Cygwin List" Subject: How to complete in /cygdrive and //server/share in zsh Date: Fri, 6 Jul 2001 15:28:04 +0400 Message-ID: <005d01c1060e$b8c631f0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006 If you are using current zsh and new completion (compinit), you can complete inside of /cygdrive and network share using fake-files style. E.g. with zstyle ':completion:*' fake-files /:cygdrive '/cygdrive:c d e h' //:itsrm2 '//itsrm2:source Linux' ls /c/d/m/cTAB gives you ls /cygdrive/d/My\ Downloads/cygwin and ls //i/l/m/u results in ls //itsrm2/Linux/Mandrake/updates (of course, to get case-insensitive completion a bit more setup is needed). Parsing output of mount and net view (to get one-for-all startup file) is left for reader :-) -andrej -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/