This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Tab Completion and Typical Behavior


On Tue, 20 Mar 2007 17:15:58 -0700, Brian Dessent <brian@dessent.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]