bash-completion errors and problems (e.g. not restricting completions to matching current word)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
easygit (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Problem description
-------
Using bash-completion to complete a file name where one is expected. However after pressing <Tab> after typing enough letters to identify the file uniquely, an error or warning message is injected into the output and then the file name is completed. The eg command does however seem to be executed after pressing <Enter>.
Example
------------
I have a file called `unique` which has been modified and which I wish to stage. I type the following partial command and then press Tab:
$ eg stage un<Tab>
I get the following output:
eg stage unbash: [: 1: unary operator expected
ique
with the cursor blinking on the end of the second line.
If I then press <enter> the command seems to be correctly executed as evidenced by the output of eg status. However the error message is disconcerting and distracting.
Note that using the `git` command directly does not give any error. eg
$ git stage un<Tab>
gives
$ git stage unique
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: easygit 0.99-1
ProcVersionSign
Uname: Linux 3.2.0-33-
ApportVersion: 2.0.1-0ubuntu15
Architecture: i386
Date: Fri Nov 16 13:07:58 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120328)
MarkForUpload: True
PackageArchitec
SourcePackage: easygit
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.