delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/09/17:05:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20090409072354.23882.qmail@smasher.org>
References: <20090409022312 DOT 19895 DOT qmail AT smasher DOT org> <grk6hs$qg0$1 AT ger DOT gmane DOT org> <20090409072354 DOT 23882 DOT qmail AT smasher DOT org>
Date: Thu, 9 Apr 2009 17:04:56 -0400
Message-ID: <f60fe000904091404t3b28a521x68956c04ce47bd2a@mail.gmail.com>
Subject: Re: duplicate *.exe commands
From: "Mark J. Reed" <markjreed AT gmail DOT com>
To: cygwin AT cygwin DOT com
Cc: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
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, Apr 9, 2009 at 3:23 AM, Atom Smasher wrote:
> ah, bash... i remember when that was the best shell...

No-one's claiming anything about "best", but since bash is the
*default* shell on Cygwin, it would have been helpful to mention in
the first place that you're using something else.

> ## cygwin only: commands that auto-complete with and without .exe suffix are annoying.
> [[ ${OSTYPE} == cygwin ]] && { hash -f ; unhash -m '*.exe' }

You probably want to unhash -m '*.dll', too.

-- 
Mark J. Reed <markjreed AT gmail DOT com>

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