Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 183011 Details for
Bug 259229
app-shells/bash-3.2_p48-r1: [TAB] completion broken
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bash-3.2-tab-completion-slash-fix.patch
bash-3.2-tab-completion-slash-fix.patch (text/plain), 1.58 KB, created by
Lars Wendler (Polynomial-C) (RETIRED)
on 2009-02-24 13:16:44 UTC
(
hide
)
Description:
bash-3.2-tab-completion-slash-fix.patch
Filename:
MIME Type:
Creator:
Lars Wendler (Polynomial-C) (RETIRED)
Created:
2009-02-24 13:16:44 UTC
Size:
1.58 KB
patch
obsolete
># Configuration Information [Automatically generated, do not change]: ># Machine: x86_64 ># OS: linux-gnu ># Compiler: gcc ># Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -O0 -g ># uname output: Linux marmot 2.6.25-gentoo-r1 #1 SMP Fri May 23 08:24:42 MDT 2008 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux ># Machine Type: x86_64-unknown-linux-gnu > ># Bash Version: 3.2 ># Patch Level: 39 ># Release Status: release > ># Description: ># After triggering directory tab-completion as part of the command in ># a command-substitution ( `` or "$()" but not $() ), bash enters a state ># where tab-completion appends a / to all matched filenames, not just ># directories. > ># Repeat-By: ># complete -r # no programmable completion ># cd /tmp; touch example # any file will do ># ls examp<TAB> # completes to ls example > ># `/tm<TAB> # completes to `/tmp/ ># ls examp<TAB> # completes to ls example/ > ># Fix: ># command_subst_completion_function sets rl_completion_append_character = '/' ># and nothing ever changes it back. > >--- bashline.c.orig 2006-07-29 22:39:30.000000000 +0200 >+++ bashline.c 2008-07-06 23:13:27.446678569 +0200 >@@ -1116,6 +1116,7 @@ > > if (matches == 0) > { >+ rl_completion_append_character = ' '; > dflags = 0; > if (in_command_position) > dflags |= DEFCOMP_CMDPOS;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 259229
: 183011