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> <20090409072354 DOT 23882 DOT qmail AT smasher DOT org> Date: Thu, 9 Apr 2009 17:04:56 -0400 Message-ID: Subject: Re: duplicate *.exe commands From: "Mark J. Reed" To: cygwin AT cygwin DOT com Cc: Thorsten Kampe Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 -- 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/