Bash command completion puts backslash in front of beginning dollar sign
Bug #177243 reported by
Xeno Campanoli
This bug affects 11 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash-completion (Debian) |
Fix Released
|
Unknown
|
|||
bash-completion (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Command completion inserts a backslash in front of the beginning collar sign of my environment variable. Example:
export MYENVVARB=xxx
cd $MYE<tab>
results in
cd \$MYENVVARB
which is not only seriously inconvenient, but I've never seen any standard Bash configuration that does it. I recommend it be configured or programmed otherwise. Perhaps there is a special mode for this, but it should not be turned on in the terminal. Those terminals are places where environment variables will be used a lot, and people will want command completion for them. This is completely non-standard. I'm seeing it in both the standard terminals, and in the xterms I use.
Changed in bash: | |
status: | New → Incomplete |
Changed in bash-completion: | |
assignee: | nobody → zoop |
status: | Confirmed → In Progress |
Changed in bash-completion: | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
Changed in bash-completion: | |
assignee: | zoop → nobody |
Changed in bash-completion: | |
status: | Unknown → Fix Committed |
Changed in bash-completion (Debian): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thank your for the report.
Could you execute the following command and send us the output
echo $PS1