[Bash-completion-devel] Bug#600253: [bash-completion] bash-completion for povray fails with unknown argument error

Michael Johnson redbeard at mdjohnson.us
Fri Oct 15 04:43:41 UTC 2010


Package: bash-completion
Version: 1:1.2-2
Severity: normal
Tags: patch

--- Please enter the report below this line. ---
When trying to tab-complete filenames in Bash for povray I get the  
following error:

   bash: _get_comp_words_by_ref(): `povcur': unknown argument

The following simple patch fixes the problem:

--- /etc/bash_completion.d/povray	2010-06-16 12:04:40.000000000 -0500
+++ /tmp/povray	2010-10-14 23:31:49.000000000 -0500
@@ -7,7 +7,7 @@
      defoext=png # default output extension, if cannot be determined FIXME

      COMPREPLY=()
-    _get_comp_words_by_ref povcur prev
+    _get_comp_words_by_ref -c povcur prev

      _expand || return 0


--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.32-5-686

Debian Release: squeeze/sid
   500 unstable        www.debian-multimedia.org
   500 unstable        ftp.us.debian.org
   500 unstable        debian.harry-b.de
   500 unstable        deb.opera.com
   500 testing         ftp.us.debian.org
     1 experimental    ftp.us.debian.org

--- Package information. ---
Depends      (Version) | Installed
======================-+-===========
bash          (>= 3.2) | 4.1-3


Package's Recommends field is empty.

Package's Suggests field is empty.



-- 
Michael D Johnson   <redbeard at mdjohnson.us>    
redbeardcreator.deviantart.com

"Marketing research...[has] shown that energy weapons that make sounds sell
  better..." - Kevin Siembieda (Rifts Game Master Guide, pg 111)





More information about the Bash-completion-devel mailing list