delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/02/16:51:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-Id: <20101102205025.150395100@gmail.com>
User-Agent: quilt/0.48-1
Date: Tue, 02 Nov 2010 13:49:00 -0700
From: dan DOT colascione AT gmail DOT com
To: cygwin AT cygwin DOT com
Subject: [patch 5/8] Document completion_strip_exe in Cygwin readme
References: <20101102204855 DOT 153395100 AT gmail DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Index: bash-3.2/CYGWIN-PATCHES/bash.README
===================================================================
--- bash-3.2.orig/CYGWIN-PATCHES/bash.README
+++ bash-3.2/CYGWIN-PATCHES/bash.README
@@ -62,7 +62,15 @@ of completion and PATH searching. The `t
 are not affected. Use this variable to prevent non-executables
 uselessly appearing in completion lists; EXECIGNORE=*.dll is quite
 useful.
-9. If you don't like how bash behaves, then propose a patch, rather than
+9. This version of bash has a Cygwin-specific shell option
+completion_strip_exe. It is enabled by default. With this option on,
+whenever bash sees a file "foo.exe" when trying to complete a command
+name, it checks whether Cygwin has generated a pseudo-hardlinked "foo"
+short name for the file and uses that instead. The end result is that
+the names of native Windows programs are completed normally, resulting
+in a more Unix-like experience overall. This substitution does not
+occur if "foo.exe" and "foo" are, in fact, different files.
+10. If you don't like how bash behaves, then propose a patch, rather than
 proposing idle ideas.  This turn of events has already been talked to
 death on the mailing lists by people with many ideas, but few patches.
 


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

- Raw text -


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