Help save net neutrality! Learn more.
Close

#1469 Bash filename autocomplete problem

closed-fixed
MSYS (75)
2010-10-24
2010-09-10
Fixerg
No

Hello, I've just installed for the first time mingw+msys with such versions:

MINGW32_NT-5.1 P4 1.0.15(0.47/3/2) 2010-07-06 22:04 i686 Msys
GNU bash, version 3.1.17(1)-release (i686-pc-msys)

Problem is that i can't autocomplete filenames inside of my HOME dir, for example there's hello.exe file... $pwd says /home/UserName... $which says file is here - /home/UserName/./hello.exe.

Typing ./ + Tab or ./h + Tab won't work, typing .\ + Tab gives segmentation fault.

Thank you for any help.

Discussion

  • Keith Marshall

    Keith Marshall - 2010-10-11

    Confirmed here:

    $ sh --version
    GNU bash, version 3.1.17(1)-release (i686-pc-msys)
    Copyright (C) 2005 Free Software Foundation, Inc.

    $ uname -a
    MINGW32_NT-6.0 ... 1.0.15(0.47/3/2) 2010-07-06 22:04 i686 Msys

    The fault appears to be specific to executables tagged with an extension, (.exe, .sh, etc.), when any other (non-executable) file, with the same basename but a different extension, is also present in PWD; it *isn't* specific to $HOME, as I can also reproduce in any other PWD. Renaming the executable, *without* any extension appears to circumvent the issue. Alternatively, removing all other files with the same basename, leaving *only* the executable, (even with its extension remaining in place), also appears to circumvent the issue.

     
  • Keith Marshall

    Keith Marshall - 2010-10-11
    • assigned_to: nobody --> cstrauss
     
  • Cesar Strauss

    Cesar Strauss - 2010-10-24

    Thanks for the report. This bug should be fixed in bash 3.1.17-4.

    To upgrade with mingw-get:
    1) mingw-get update
    2) mingw-get install msys-bash-bin

    If you continue having this problem, please feel free to reopen this issue.

    Regards,
    Cesar

     
  • Cesar Strauss

    Cesar Strauss - 2010-10-24
    • status: open --> closed-fixed
     
  • Fixerg

    Fixerg - 2010-10-27

    It works! Thank you!

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2011-05-19

    Downloaded 3.1.17-4 from http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/bash/bash-3.1.17-4/bash-3.1.17-4-msys-1.0.16-bin.tar.lzma/download
    It seems the files is not update-to-date:

    $ bash -version
    GNU bash, version 3.1.17(1)-release (i686-pc-msys)
    Copyright (C) 2005 Free Software Foundation, Inc.

    Could someone help confirm that?

     

Log in to post a comment.