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.