delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/20/19:36:41

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: robert_neville310 AT yahoo DOT com
Subject: Re: Tab Completion and Typical Behavior
Date: Tue, 20 Mar 2007 17:35:45 -0700
Lines: 21
Message-ID: <kuu003locggv9p0koi4vqnvminpi104uev@4ax.com>
References: <f8utv294jjjninbskuj5csfh2kq0hag8d6 AT 4ax DOT com> <etotnn$75r$1 AT sea DOT gmane DOT org> <m3t003hg9bsst7tfn7ktm7lvacaqaf90im AT 4ax DOT com> <4600793E DOT 3587D888 AT dessent DOT net>
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

On Tue, 20 Mar 2007 17:15:58 -0700, Brian Dessent <brian AT dessent DOT net>
wrote:


> ...are you in ~/bin when you try to tab-complete ./myscript.sh? If you 
> are in ~, then the path would be bin/myscript.sh, not ./myscript.sh. 
> (Does trying to complete the full path (~/bin/myscript.sh) work?)

>> ~ $ .~/bin/myscript<DOES NOT complete>
>> cygdrive/g/ $ ./myscript<DOES NOT complete>
>
>Huh?  Are you just trying random things?  Neither of those should
>complete because they're invalid.  "." means the current directory.  So,
>typing ./foo means "a file named foo in the current directory", and if
>you're in /cygdrive/g there is no such file myscript.sh, thus nothing to
>complete.  .~/bin is even more nonsensical.
>
Yes, I am trying random things in response to the previous poster. It
may lead me to a better understanding of the issue; most of the time
it sends me on a tangent.



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

- Raw text -


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