Public bug reported:

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
ProcVersionSignature: Ubuntu 3.2.0-33.52-generic-pae 3.2.31
Uname: Linux 3.2.0-33-generic-pae i686
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
PackageArchitecture: all
SourcePackage: easygit
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: easygit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 precise running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1079641

Title:
  bash-completion of filename does not work 100% (unlike git) - gives ":
  1: unary operator expected" error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/easygit/+bug/1079641/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to