Public bug reported:

Writing:

"$ eg rm "

then pressing tab will result in:

"$ eg rm bash: [: 1: unary operator expected"

Completion fails with other easygit subcommands as well.

$ lsb_release -rd
Description:    Ubuntu 13.04
Release:        13.04

$ apt-cache policy bash-completion
bash-completion:
  Installed: 1:2.0-1ubuntu3
  Candidate: 1:2.0-1ubuntu3
  Version table:
 *** 1:2.0-1ubuntu3 0
        500 http://mirror.isoc.org.il/pub/ubuntu/ raring/main i386 Packages
        100 /var/lib/dpkg/status

$ apt-cache policy easygit
easygit:
  Installed: 0.99-1
  Candidate: 0.99-1
  Version table:
 *** 0.99-1 0
        500 http://mirror.isoc.org.il/pub/ubuntu/ raring/universe i386 Packages
        100 /var/lib/dpkg/status

** Affects: bash-completion (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: easygit

** Description changed:

  Writing:
  
  "$ eg rm "
  
  then pressing tab will result in:
  
  "$ eg rm bash: [: 1: unary operator expected"
  
  Completions fails completion also with other easygit subcommands.
  
  $ lsb_release -rd
  Description:    Ubuntu 13.04
  Release:        13.04
  
  $ apt-cache policy bash-completion
  bash-completion:
-   Installed: 1:2.0-1ubuntu3
-   Candidate: 1:2.0-1ubuntu3
-   Version table:
-  *** 1:2.0-1ubuntu3 0
-         500 http://mirror.isoc.org.il/pub/ubuntu/ raring/main i386 Packages
-         100 /var/lib/dpkg/status
+   Installed: 1:2.0-1ubuntu3
+   Candidate: 1:2.0-1ubuntu3
+   Version table:
+  *** 1:2.0-1ubuntu3 0
+         500 http://mirror.isoc.org.il/pub/ubuntu/ raring/main i386 Packages
+         100 /var/lib/dpkg/status
  
  $ apt-cache policy easygit
  easygit:
-   Installed: 0.99-1
-   Candidate: 0.99-1
-   Version table:
-  *** 0.99-1 0
-         500 http://mirror.isoc.org.il/pub/ubuntu/ raring/universe i386 
Packages
-         100 /var/lib/dpkg/status
- 
- 3) What you expected to happen
- 4) What happened instead
+   Installed: 0.99-1
+   Candidate: 0.99-1
+   Version table:
+  *** 0.99-1 0
+         500 http://mirror.isoc.org.il/pub/ubuntu/ raring/universe i386 
Packages
+         100 /var/lib/dpkg/status

** Description changed:

  Writing:
  
  "$ eg rm "
  
  then pressing tab will result in:
  
  "$ eg rm bash: [: 1: unary operator expected"
  
- Completions fails completion also with other easygit subcommands.
+ Completion fails with other easygit subcommands as well.
  
  $ lsb_release -rd
  Description:    Ubuntu 13.04
  Release:        13.04
  
  $ apt-cache policy bash-completion
  bash-completion:
    Installed: 1:2.0-1ubuntu3
    Candidate: 1:2.0-1ubuntu3
    Version table:
   *** 1:2.0-1ubuntu3 0
          500 http://mirror.isoc.org.il/pub/ubuntu/ raring/main i386 Packages
          100 /var/lib/dpkg/status
  
  $ apt-cache policy easygit
  easygit:
    Installed: 0.99-1
    Candidate: 0.99-1
    Version table:
   *** 0.99-1 0
          500 http://mirror.isoc.org.il/pub/ubuntu/ raring/universe i386 
Packages
          100 /var/lib/dpkg/status

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

Title:
  easygit (aka eg) fails with "unary operator expected"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1210737/+subscriptions

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

Reply via email to