delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/01/20:33:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 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: <20101102002648.893317500@gmail.com>
User-Agent: quilt/0.46-1
Date: Mon, 01 Nov 2010 17:26:49 -0700
From: dan DOT colascione AT gmail DOT com
To: cygwin AT cygwin DOT com
Subject: [patch 0/8] Bash improvements
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

This is a series of patches that tries to improve the user experience in Cygwin.

It adds three new features:

1. EXECIGNORE

EXECIGNORE is a colon-separated list of glob patterns. If a file
's full patch matches one of these, it is never considered 
executable for completion purposes. EXECIGNORE=*.dll is a good start.

2. completion_strip_exe

completion_strip_exe is a new shell option. When enabled,
bash tries to use the short name of a program instead of
its longer ".-exe"-suffixed one. With this on, pin<tab>
completes to "ping".

3. dg-dwim (C-x C-w)

This is a new readline command that toggles the shell word before
point between Unix and Windows path syntax, with a heuristic to
detect unquoted Windows paths.

Try typing "notepad ~/.profile", then hit C-x C-w

The command line will be changed to 
notepad 'C:\Users\username\conf\dot-profile'

If you hit C-x C-w again, you'll see

notepad '/c/Users/dancol/.profile'

It also works with glob patterns; try it out. 

I hope this stuff is useful.

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