completion of inserted option after command throws bash error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash-completion (Debian) |
Fix Released
|
Unknown
|
|||
bash-completion (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bash-completion
This is hard to actually capture since apparently a carriage return is output and overwrites the rest of the line..
ssh -i bash: $index: substring expression < 0
Basically, to reproduce, try this:
1. type 'ssh someuser@somehost'
2. move cursor back between ssh and someuser
3. type '-i ' and hit TAB
4. Error happens.
NOTE: You must follow the instructions exactly. If you do 'ssh -i' and then hit TAB, it works.
My system info:
Description: Ubuntu 10.10
Release: 10.10
Installed: 1:1.2-2ubuntu1
Candidate: 1:1.2-2ubuntu1
Version table:
*** 1:1.2-2ubuntu1 0
500 http://
100 /var/lib/
Thanks!
tags: | added: ssh |
summary: |
- ssh -i completion throws bash error + completion of inserted option after command throws bash error |
Changed in bash-completion (Debian): | |
status: | Unknown → Confirmed |
Changed in bash-completion (Debian): | |
status: | Confirmed → Fix Released |
Changed in bash-completion (Ubuntu): | |
status: | Confirmed → Fix Released |
I tried to follow your steps exactly but I couldn't reproduce the error:
Ubuntu 10.10 2.6.35-23.41 i686
Can you provide a screenshot of the error?