[yum-commits] etc/yum.bash

Ville Skyttä scop at osuosl.org
Fri Feb 24 20:59:23 UTC 2012


 etc/yum.bash |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 7ccd9d77dacc345371db55e6d5c18da297a6c92a
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Feb 24 22:59:12 2012 +0200

    Add install-na completion.

diff --git a/etc/yum.bash b/etc/yum.bash
index 6d21e51..5945c6f 100644
--- a/etc/yum.bash
+++ b/etc/yum.bash
@@ -166,7 +166,7 @@ _yum()
         # Recognize additional commands and aliases
         for c in ${cmds[@]} check-rpmdb distribution-synchronization erase \
             group groupinfo groupinstall grouplist groupremove groupupdate \
-            grouperase localinstall localupdate whatprovides ; do
+            grouperase install-na localinstall localupdate whatprovides ; do
             [[ ${words[i]} == $c ]] && cmd=$c && break
         done
     done
@@ -292,6 +292,11 @@ _yum()
             return 0
             ;;
 
+        install-na)
+            _yum_list available "$cur"
+            return 0
+            ;;
+
         list)
             [[ $prev == $cmd ]] && \
                 COMPREPLY=( $( compgen -W 'all available updates installed


More information about the Yum-commits mailing list