[Lunar-commits] <moonbase> lunar, theedge: Corrected a small issue with the bash completion scripts

Stefan Wold ratler at lunar-linux.org
Mon Apr 9 10:45:52 CEST 2012


commit 16680b2c2ab826e708cf7015bbb9464b226dbaad
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Mon Apr 9 10:45:52 2012 +0200

    lunar, theedge: Corrected a small issue with the bash completion scripts
---
 utils/lunar/profile.d/lunar.rc     |    9 ++-------
 utils/theedge/profile.d/theedge.rc |    9 ++-------
 2 files changed, 4 insertions(+), 14 deletions(-)

diff --git a/utils/lunar/profile.d/lunar.rc b/utils/lunar/profile.d/lunar.rc
index f0bc068..bc59332 100644
--- a/utils/lunar/profile.d/lunar.rc
+++ b/utils/lunar/profile.d/lunar.rc
@@ -125,9 +125,7 @@ _lunar_lvu()
       COMPREPLY=( $(compgen -f -- "$cur") )
       return 0
       ;;
-    DETAILS|DEPENDS|CONFLICTS|BUILD|PRE_BUILD|POST_BUILD|CONFIGURE|POST_INSTALL|PRE_REMOVE|POST_REMOVE| \
-    what|short|where|cd|info|website|install|size|installed|compile|compiler|links|sources|urls| \
-    maintainer|version|edit|sum|md5sum|activity|voyeur|depends|tree|stree|eert|leert)
+    DETAILS|DEPENDS|CONFLICTS|BUILD|PRE_BUILD|POST_BUILD|CONFIGURE|POST_INSTALL|PRE_REMOVE|POST_REMOVE|what|where|cd|service|website|install|size|installed|compile|compiler|links|sources|maintainer|version|sum|md5sum|depends|tree|eert|stree|leert|urls|versions|short|info|edit)
       _lunar_modules_list
       return 0
       ;;
@@ -143,10 +141,7 @@ _lunar_lvu()
 
   if [[ "$cur" == -* ]]; then
     COMPREPLY=( $( compgen -W '-d --debug -v --verbose -h --help' -- "$cur") )
-  elif [[ $COMP_CWORD -gt 2 && "${COMP_WORDS[COMP_CWORD-2]}" == @(DETAILS|DEPENDS|CONFLICTS|BUILD|PRE_BUILD|POST_BUILD|CONFIGURE|POST_INSTALL \
-                                                                  PRE_REMOVE|POST_REMOVE|what|where|cd|from|search|service|website|install|size \
-                                                                  installed|compile|compiler|links|sources|maintainer|version|sum|md5sum|depends \
-                                                                  tree|eert|stree|leert|urls|versions|short|info|edit|unedit|diff|new|submit|section) ]]; then
+  elif [[ $COMP_CWORD -gt 2 && "${COMP_WORDS[COMP_CWORD-2]}" == @(DETAILS|DEPENDS|CONFLICTS|BUILD|PRE_BUILD|POST_BUILD|CONFIGURE|POST_INSTALL|PRE_REMOVE|POST_REMOVE|what|where|cd|from|search|service|website|install|size|installed|compile|compiler|links|sources|maintainer|version|sum|md5sum|depends|tree|eert|stree|leert|urls|versions|short|info|edit|unedit|diff|new|submit|section) ]]; then
     return 0
   else
     COMPREPLY=( $( compgen -W 'DETAILS DEPENDS CONFLICTS BUILD PRE_BUILD POST_BUILD CONFIGURE POST_INSTALL PRE_REMOVE POST_REMOVE \
diff --git a/utils/theedge/profile.d/theedge.rc b/utils/theedge/profile.d/theedge.rc
index f0bc068..bc59332 100644
--- a/utils/theedge/profile.d/theedge.rc
+++ b/utils/theedge/profile.d/theedge.rc
@@ -125,9 +125,7 @@ _lunar_lvu()
       COMPREPLY=( $(compgen -f -- "$cur") )
       return 0
       ;;
-    DETAILS|DEPENDS|CONFLICTS|BUILD|PRE_BUILD|POST_BUILD|CONFIGURE|POST_INSTALL|PRE_REMOVE|POST_REMOVE| \
-    what|short|where|cd|info|website|install|size|installed|compile|compiler|links|sources|urls| \
-    maintainer|version|edit|sum|md5sum|activity|voyeur|depends|tree|stree|eert|leert)
+    DETAILS|DEPENDS|CONFLICTS|BUILD|PRE_BUILD|POST_BUILD|CONFIGURE|POST_INSTALL|PRE_REMOVE|POST_REMOVE|what|where|cd|service|website|install|size|installed|compile|compiler|links|sources|maintainer|version|sum|md5sum|depends|tree|eert|stree|leert|urls|versions|short|info|edit)
       _lunar_modules_list
       return 0
       ;;
@@ -143,10 +141,7 @@ _lunar_lvu()
 
   if [[ "$cur" == -* ]]; then
     COMPREPLY=( $( compgen -W '-d --debug -v --verbose -h --help' -- "$cur") )
-  elif [[ $COMP_CWORD -gt 2 && "${COMP_WORDS[COMP_CWORD-2]}" == @(DETAILS|DEPENDS|CONFLICTS|BUILD|PRE_BUILD|POST_BUILD|CONFIGURE|POST_INSTALL \
-                                                                  PRE_REMOVE|POST_REMOVE|what|where|cd|from|search|service|website|install|size \
-                                                                  installed|compile|compiler|links|sources|maintainer|version|sum|md5sum|depends \
-                                                                  tree|eert|stree|leert|urls|versions|short|info|edit|unedit|diff|new|submit|section) ]]; then
+  elif [[ $COMP_CWORD -gt 2 && "${COMP_WORDS[COMP_CWORD-2]}" == @(DETAILS|DEPENDS|CONFLICTS|BUILD|PRE_BUILD|POST_BUILD|CONFIGURE|POST_INSTALL|PRE_REMOVE|POST_REMOVE|what|where|cd|from|search|service|website|install|size|installed|compile|compiler|links|sources|maintainer|version|sum|md5sum|depends|tree|eert|stree|leert|urls|versions|short|info|edit|unedit|diff|new|submit|section) ]]; then
     return 0
   else
     COMPREPLY=( $( compgen -W 'DETAILS DEPENDS CONFLICTS BUILD PRE_BUILD POST_BUILD CONFIGURE POST_INSTALL PRE_REMOVE POST_REMOVE \


More information about the Lunar-commits mailing list