[yum-commits] etc/yum.bash
zpavlas at osuosl.org
zpavlas at osuosl.org
Wed Dec 11 09:02:33 UTC 2013
etc/yum.bash | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit cc0d8d11c90515ead4f3e1018e0f82b2edbc8274
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date: Tue Dec 10 16:15:57 2013 +0100
completion-helper: No pkg list when len(prefix) < 1. BZ 1040033
diff --git a/etc/yum.bash b/etc/yum.bash
index 40541af..aae8992 100644
--- a/etc/yum.bash
+++ b/etc/yum.bash
@@ -19,6 +19,8 @@ _yum_list()
{
# Fail fast for things that look like paths or options.
[[ $2 == */* || $2 == [.~-]* ]] && return
+ # Listing all packages takes way too long
+ [[ ${#2} -lt 1 ]] && return
_yum_helper list "$@"
}
More information about the Yum-commits
mailing list