Enlightenment CVS committal

Author  : xenith
Project : e17
Module  : apps/e

Dir     : e17/apps/e/data/other


Modified Files:
        _enlightenment_remote 


Log Message:
zsh completion update from Sanjay Basu.

I think this is correct. The patch didn't apply cleanly and I did the best I
could.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/data/other/_enlightenment_remote,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- _enlightenment_remote       7 Jun 2005 02:17:44 -0000       1.1
+++ _enlightenment_remote       16 Jun 2005 08:04:09 -0000      1.2
@@ -14,15 +14,16 @@
 #   .  completions for -binding-(key|mouse)-del should be based on existing
 #      bindings
 
-local allopts="-bg-dirs-list -bg-get -bg-set -binding-key-add -binding-key-del 
\
-               -binding-key-list -binding-mouse-add -binding-mouse-del \
-              -binding-mouse-list -font-apply -font-available-list \
-              -font-default-get -font-default-list -font-default-remove \
-              -font-default-set -font-fallback-append -font-fallback-clear \
-              -font-fallback-list -font-fallback-prepend -font-fallback-remove 
\
-              -lang-get -lang-list -lang-set -module-dirs-list -module-disable 
\
-              -module-enable -module-list -module-load -module-unload -restart 
\
-              -shutdown -help"
+local allopts="-bg-dirs-list -default-bg-get -default-bg-set \
+            -binding-key-add -binding-key-del \
+            -binding-key-list -binding-mouse-add -binding-mouse-del \
+            -binding-mouse-list -font-apply -font-available-list \
+            -font-default-get -font-default-list -font-default-remove \
+            -font-default-set -font-fallback-append -font-fallback-clear \
+            -font-fallback-list -font-fallback-prepend -font-fallback-remove \
+            -lang-get -lang-list -lang-set -module-dirs-list -module-disable \
+            -module-enable -module-list -module-load -module-unload -restart \
+            -shutdown -help"
 
 local text_classes="default title_bar"
 local contexts="NONE UNKNOWN BORDER ZONE MANAGER ANY"
@@ -39,8 +40,8 @@
        "($allopts)-module-disable[Disable module if not disabled]:module 
name:->enabled-module" \
        "($allopts)-module-list[List all loaded modules and their states]" \
        "($allopts)-module-dirs-list[List all modules directories]" \
-       "($allopts)-bg-set[Set the background edje file]:background edje:_files 
-g \*.edj" \
-       "($allopts)-bg-get[Get the background edje file]" \
+       "($allopts)-default-bg-set[Set the background edje file]:background 
edje:_files -g \*.edj" \
+       "($allopts)-default-bg-get[Get the background edje file]" \
        "($allopts)-bg-dirs-list[Get the background directories]" \
        "($allopts)-font-fallback-remove[Remove a font from the fontset]:font 
name:->fallback-font" \
        "($allopts)-font-fallback-prepend[Prepend a font to the fontset]:font 
name:->available-font" \
@@ -87,23 +88,23 @@
                tag=languages
                ;;
        enabled-module)
-               opts=($($cmd -module-list | sed 's/.*"\([^"]*\)" 
ENABLED=1.*/\1/gp;d'))
+               opts=($($cmd -module-list | sed 's/.*"\([^"]*\)" ENABLED 
1.*/\1/gp;d'))
                description="enabled module"
                tag=modules
                ;;
        disabled-module)
-               opts=($($cmd -module-list | sed 's/.*"\([^"]*\)" 
ENABLED=0/\1/gp;d'))
+               opts=($($cmd -module-list | sed 's/.*"\([^"]*\)" ENABLED 
0/\1/gp;d'))
                description="disabled module"
                tag=modules
                ;;
        unloaded-module)
                # FIXME: matches all available modules, not just unloaded ones
-               opts=(${^$($cmd -module-dirs-list | sed 's/REPLY: MODULE 
DIR=\(.*\)/\1/gp;d')}/*(N/:t))
+               opts=(${^$($cmd -dirs-list modules | sed 
's/.*"\([^"]*\)"/\1/gp;d')}/*(N/:t))
                description="module name"
                tag=modules
                ;;
        loaded-module)
-               opts=($($cmd -module-list | sed 's/.*"\([^"]*\)" 
ENABLED=./\1/gp;d'))
+               opts=($($cmd -module-list | sed 's/.*"\([^"]*\)" ENABLED 
./\1/gp;d'))
                description="loaded module"
                tag=modules
                ;;




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to