X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0	tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: Adam Dinwoodie <Adam.Dinwoodie@metaswitch.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: Autocompletion of shell variables
Date: Tue, 25 Sep 2012 12:34:55 +0000
Deferred-Delivery: Tue, 25 Sep 2012 12:34:00 +0000
Message-ID: <CE9C056E12502146A72FD81290379E9A5B9B508E@ENFIRHMBX1.datcon.co.uk>
References: <50619E14.3060703@heliant.rs>
In-Reply-To: <50619E14.3060703@heliant.rs>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q8PCbJAn015864

Jovan Grbic wrote:
> I have an irk with Cygwin 1.7.16. The problem is that the autocompletion of
> shell variables is not functioning if I don't use full windows executable
> name of standard linux tool.
>
> For example. I have variable SERVER=a.b.c.d. When i try
>      ssh $SER<tab>
> autocomplete does not work, but with
>      ssh.exe $SER<tab>
> autocomplete works. Autocompletion of file system paths works in both cases.

A quick bit of experimentation shows this is related to the bash-completion
package.  If that's installed, you'll see the above behaviour.  If it's not
installed, everything works as expected.

If you don't need it, uninstalling bash-completion appears to be a work-around
for me.

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


