[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: Problem with bash completion
From: |
Eric Blake |
Subject: |
Fwd: Problem with bash completion |
Date: |
Wed, 12 Mar 2008 20:23:58 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This was originally reported on the cygwin lists; it is still present in
stock bash 3.2.33.
- -----
From: David Rothenberger
Subject: Problem with bash completion
Sometimes bash gets confused and starts adding a slash at the end of
files when I do tab-completion. Here's a simple reproduction script:
~ > bash --noprofile --norc -i
bash-3.2$ mkdir /tmp/bash-problem
bash-3.2$ cd /tmp/bash-problem
bash-3.2$ mkdir d
bash-3.2$ touch x
bash-3.2$ chmod 755 x
bash-3.2$ ./x <---- tab after x completes correctly
bash-3.2$ ./d/ <---- ditto with d
bash: ./d/: is a directory
bash-3.2$ "$(ls ./d/)" <---- pressed tab after d
bash: : command not found
bash-3.2$ ./x/ <---- tab after x now adds slash
Once the shell starts doing this, it keeps doing it. Restarting bash
solves the problem.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkfYkD0ACgkQ84KuGfSFAYDDGwCfalSk2f/RJfh4ysHaET9Wh7tz
xH4AoKVip75HIyoEtXfMkIvDTT80N6Ii
=HdVT
-----END PGP SIGNATURE-----
- Fwd: Problem with bash completion,
Eric Blake <=