[Lunar-commits] <moonbase-core> lunar: slightly adjust autocomplete

v4hn me at v4hn.de
Sat Apr 20 21:51:05 CEST 2013


commit b2243266b88c1c1f8ced3269c7ab83e7acede3f7
Author: v4hn <me at v4hn.de>
Date: Sat, 20 Apr 2013 08:59:06 -0700
URL: https://github.com/lunar-linux/moonbase-core/commit/b2243266b88c1c1f8ced3269c7ab83e7acede3f7

lunar: slightly adjust autocomplete

`lvu installed` and `lvu compile` should also
autocomplete for modules which failed to install/are not installed.

That one has been nagging me for ages...
---
  system/lunar/profile.d/lunar.rc | +2/-2     
  1 file changed, 2 insertions(+), 2 deletions(-)

--- a/system/lunar/profile.d/lunar.rc
+++ b/system/lunar/profile.d/lunar.rc
@@ -125,11 +125,11 @@ _lunar_lvu()
       COMPREPLY=( $(compgen -f -- "$cur") )
       return 0
       ;;
-    DETAILS|DEPENDS|CONFLICTS|BUILD|PRE_BUILD|POST_BUILD|CONFIGURE|POST_INSTALL|PRE_REMOVE|POST_REMOVE|what|where|cd|service|website|compiler|links|sources|maintainer|version|sum|md5sum|depends|tree|eert|stree|leert|urls|versions|short|info|edit)
+    DETAILS|DEPENDS|CONFLICTS|BUILD|PRE_BUILD|POST_BUILD|CONFIGURE|POST_INSTALL|PRE_REMOVE|POST_REMOVE|what|where|cd|service|website|compiler|links|sources|maintainer|version|sum|md5sum|depends|tree|eert|stree|leert|urls|versions|short|info|edit|compile|installed)
       _lunar_modules_list
       return 0
       ;;
-    compile|install|installed|size)
+    install|size)
       _lunar_modules_installed_list
       return 0
       ;;




More information about the Lunar-commits mailing list