Tab Completion and Typical Behavior

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Wed Mar 21 01:45:00 GMT 2007


robert_neville310 wrote:
> On Tue, 20 Mar 2007 17:15:58 -0700, Brian Dessent 
> 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.
>

If you believe that previous poster was me, then I think you misunderstood
me.  In any case, please stop trying random things and embarking on
tangents.  None of that is likely to be helpful to anyone.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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



More information about the Cygwin mailing list