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

X-Spam-Check-By: sourceware.org
Message-ID: <45FF3D3D.8010808@byu.net>
Date: Mon, 19 Mar 2007 19:47:41 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Tab Completion and Typical Behavior
References: <f8utv294jjjninbskuj5csfh2kq0hag8d6 AT 4ax DOT com> <20070319222033 DOT GC12851 AT suncomp1 DOT spk DOT agilent DOT com>
In-Reply-To: <20070319222033.GC12851@suncomp1.spk.agilent.com>
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Gary Johnson on 3/19/2007 4:20 PM:
> On 2007-03-19, robert_neville310 AT yahoo DOT 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?
> 
> Larry didn't address the case of
> 
>     sh myscript.sh
> 
> which doesn't seem to work by default.

That is, if you don't use the bash-completion package.  If you install
that, and tweak your ~/.bashrc (/etc/defaults/etc/skel/.bashrc has some
hints), then you get this, and many other, programmable completion tweaks
by default.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF/z0884KuGfSFAYARAswuAJ9r3FT4+BN66+VCb8IBI0zqC0ObhgCgw+wK
hM881pRb/FB1qGS/B7bdREA=
=aDi0
-----END PGP SIGNATURE-----

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