I noticed that, when autocompleting directory names as first thing in
the command line, the second directory is seen as an executable.
Example:
suppose I have examples/tictactoe/ttt.exe (which is my case, btw)
(consecutive lines are effect of the line above)
$ exa_<TAB>
$ examples/_
$ examples/tic<TAB>
$ examples/tictactoe _
...and to actually reach ttt.exe I must back-space and then continue
$ examples/tictactoe <BS>/
$ examples/tictactoe/_
$ examples/tictactoe/ttt<TAB>
$ examples/tictactoe/ttt.exe
If same auto-completion is not the first thing on the command line
(white space doesn't matter, of course) instead the "correct" behaviour
can be seen:
$ insight exa<TAB>
$ insight examples/_
$ insight examples/tic<TAB>
$ insight examples/tictactoe/_
$ insight examples/tictactoe/ttt.<TAB>
$ insight examples/tictactoe/ttt.exe
--
Lapo 'Raist' Luchini
[EMAIL PROTECTED] (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/