Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <3E1848DD.9010904@lapo.it> Date: Sun, 05 Jan 2003 16:01:49 +0100 From: Lapo Luchini User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030102 X-Accept-Language: it, en, fr, es MIME-Version: 1.0 To: Mailing List: CygWin Subject: bug in bash auto-completion (?) X-Enigmail-Version: 0.71.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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_ $ examples/_ $ examples/tic $ examples/tictactoe _ ...and to actually reach ttt.exe I must back-space and then continue $ examples/tictactoe / $ examples/tictactoe/_ $ examples/tictactoe/ttt $ 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 $ insight examples/_ $ insight examples/tic $ insight examples/tictactoe/_ $ insight examples/tictactoe/ttt. $ insight examples/tictactoe/ttt.exe -- Lapo 'Raist' Luchini lapo AT lapo DOT it (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/