delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/09/03:24:18

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <20090409072354.23882.qmail@smasher.org>
cc: cygwin AT cygwin DOT com
Date: Thu, 9 Apr 2009 19:23:50 +1200 (NZST)
From: Atom Smasher <atom AT smasher DOT org>
In-Reply-To: <grk6hs$qg0$1@ger.gmane.org>
MIME-Version: 1.0
OpenPGP: id=0xB88D52E4D9F57808; algo=1 (RSA); size=4096; url=http://atom.smasher.org/pgp.txt
References: <20090409022312 DOT 19895 DOT qmail AT smasher DOT org> <grk6hs$qg0$1 AT ger DOT gmane DOT org>
Subject: Re: duplicate *.exe commands
To: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
X-POM: The Moon is Full
X-Hashcash: 1:20:0904090723:thorsten AT thorstenkampe DOT de::ehvgly3I9w1JXPQC:00000000 0000000000000000000000002hyh
X-Hashcash: 1:20:0904090723:cygwin AT cygwin DOT com::L/IwrYt9etyYh5+W:0000000000000000 0000000000000000000000005LL2
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Thu, 9 Apr 2009, Thorsten Kampe wrote:

>> what a mess, especially when i use auto-complete in my shell.
>
> I can't reproduce that with bash
>
> thorsten AT tkampe[~]$ ca<TAB>
> cabinet.dll    cal            calwin32.dll   cat.exe
> cabview.dll    cal.exe        capisp.dll     catsrv.dll
> cacls.exe      calc.exe       captoinfo.exe  catsrvps.dll
> cadaver.exe    caller         case           catsrvut.dll
> thorsten AT tkampe[~]$ ca
>
> So cat is only listed once (as cat.exe) (cal is listed twice because I
> aliased it to "cal -m").
======================

ah, bash... i remember when that was the best shell...

try this - http://www.smasher.org/zsh/zshrc-v0.147.gz 
http://www.smasher.org/zsh/

zsh just makes everything better. with that zshrc file (and zsh, of 
course) if you type "ca<TAB>" you'll see "cat" but not "cat.exe". i'm away 
from my employer's windows machine for the next few days, so i can't show 
a full/accurate listing of the tab-completion right now.

like i said... i'm a *nix guy, and there are a few cygwin optimizations in 
there that make cygwin/zsh feel much more like home.


-- 
         ...atom

  ________________________
  http://atom.smasher.org/
  762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
  -------------------------------------------------

 	"All organizations are hierarchical. At each level people
 	 serve under those above them. An organization is therefore
 	 a structured institution. If it is not structured, it is a
 	 mob. Mobs do not get things done, they destroy things."
 		-- Theodore Levitt, Management for business Growth


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019