[Bug 681687] New: incorrect tab completion for variables (bash)
https://bugzilla.novell.com/show_bug.cgi?id=681687 https://bugzilla.novell.com/show_bug.cgi?id=681687#c0 Summary: incorrect tab completion for variables (bash) Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: Other OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: suse@hopnet.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0b12) Gecko/20110222 Firefox/4.0b12 Tab completion of variables has changed between 11.3 and 11.4. Tab completion should complete the name of variable. (11.3 behavior) Tab completion now also backslash escapes the initial $ making the variable unusable. (11.4 behavior) complete (TAB) Attempt to perform completion on the text before point. Bash attempts completion treating the text as a variable (if the text begins with $), username (if the text begins with ~), hostname (if the text begins with @), or command (including aliases and functions) in turn. If none of these produces a match, filename completion is attempted. Reproducible: Always Steps to Reproduce: 1. create a variable in the environment (with a fairly unique name to simplify this example) 2. at a bash prompt, type a $ and the first unique portion of the variable name 3. hit tab Actual Results: example ~$ export UNIXSCRIPTS=/home/me/InCVS/UnixScripts ~$ cd $UNI(tab)(cr)
cd \\\$UNIXSCRIPTS bash: cd: \$UNIXSCRIPTS: No such file or directory
The tab inserts the three backslashes before the dollar sign. Expected Results: example ~$ export UNIXSCRIPTS=/home/me/InCVS/UnixScripts ~$ cd $UNI(tab)(cr)
cd $UNIXSCRIPTS ~/InCVS/UnixScripts$ ls ....
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681687 https://bugzilla.novell.com/show_bug.cgi?id=681687#c2 --- Comment #2 from Dr. Werner Fink <werner@novell.com> 2011-05-06 09:07:07 UTC --- Created an attachment (id=428361) --> (http://bugzilla.novell.com/attachment.cgi?id=428361) /etc/profile.d/complete.bash Please try this one -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681687 https://bugzilla.novell.com/show_bug.cgi?id=681687#c Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |suse@hopnet.net -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681687 https://bugzilla.novell.com/show_bug.cgi?id=681687#c3 Keith Hopkins <lnxgnome@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |lnxgnome@gmail.com InfoProvider|suse@hopnet.net | --- Comment #3 from Keith Hopkins <lnxgnome@gmail.com> 2011-05-09 11:27:45 UTC --- (In reply to comment #2)
Created an attachment (id=428361) --> (http://bugzilla.novell.com/attachment.cgi?id=428361) [details] /etc/profile.d/complete.bash
Please try this one
Yes, that seems to resolve the issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681687 https://bugzilla.novell.com/show_bug.cgi?id=681687#c4 Ruediger Oertel <ro@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |ro@novell.com Resolution| |FIXED --- Comment #4 from Ruediger Oertel <ro@novell.com> 2011-05-10 15:10:54 UTC --- fix submitted to 11.4 updates -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681687 https://bugzilla.novell.com/show_bug.cgi?id=681687#c5 --- Comment #5 from Bernhard Wiedemann <bwiedemann@novell.com> 2011-05-10 18:00:17 CEST --- This is an autogenerated message for OBS integration: This bug (681687) was mentioned in https://build.opensuse.org/request/show/69984 11.4 / aaa_base -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681687 https://bugzilla.novell.com/show_bug.cgi?id=681687#c6 Christian Dengler <cdengler@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cdengler@novell.com --- Comment #6 from Christian Dengler <cdengler@novell.com> 2011-05-17 14:12:00 UTC --- Update released. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com