delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/09/25/08:37:22

X-Recipient: archive-cygwin AT delorie DOT 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 DOT Dinwoodie AT metaswitch DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT 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 DOT 3060703 AT heliant DOT rs>
In-Reply-To: <50619E14.3060703@heliant.rs>
MIME-Version: 1.0
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
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


- Raw text -


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