X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: robert_neville310@yahoo.com
Subject:  Re: Tab Completion and Typical Behavior
Date:  Tue, 20 Mar 2007 17:06:20 -0700
Lines: 26
Message-ID:  <m3t003hg9bsst7tfn7ktm7lvacaqaf90im@4ax.com>
References:  <f8utv294jjjninbskuj5csfh2kq0hag8d6@4ax.com> <etotnn$75r$1@sea.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
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

On Tue, 20 Mar 2007 10:13:59 -0500, Matthew Woehlke
<mw_triad@users.sourceforge.net> wrote:

>robert_neville310@yahoo.com wrote:
>> I have a question about tab completion in the console window. The
>> .bash_profile exports the right paths and the console performs tab
>> completion. My scripts can be found in ~/bin. I can tab out
>> myscript.sh, but can not tab complete ./myscript.sh; or sh
>> myscript.sh. Is this behavior normal? Can I change the console
>> behavior to tab out ./myscript.sh?
>
>...are you in ~/bin when you try to tab-complete ./myscript.sh? If you 
 Script lives in /home/username/bin/myscript.sh

~/bin $ ./myscript<tab completes>
~ $ ~/bin/myscript<tab completes>
~ $ .~/bin/myscript<DOES NOT complete>

#Without using the complete -c sh
~ $ sh myscript<DOES NOT complete>

cygdrive/g/ $ ./myscript<DOES NOT complete>
cygdrive/g/ $ ~/bin/myscript<tab completes>

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


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

