---
 etc/yum.bash | 2 ++
 1 file changed, 2 insertions(+)

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 "$@"
 }
 
-- 
1.7.11.7

_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to