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:06:20 -0700 Lines: 26 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 10:13:59 -0500, Matthew Woehlke wrote: >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? > >...are you in ~/bin when you try to tab-complete ./myscript.sh? If you Script lives in /home/username/bin/myscript.sh ~/bin $ ./myscript ~ $ ~/bin/myscript ~ $ .~/bin/myscript #Without using the complete -c sh ~ $ sh myscript cygdrive/g/ $ ./myscript cygdrive/g/ $ ~/bin/myscript >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/