[yum-commits] etc/yum.bash
zpavlas at osuosl.org
zpavlas at osuosl.org
Fri Dec 13 08:01:49 UTC 2013
etc/yum.bash | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 7479c24ff5196f740614338247a7c513fe56486b
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date: Fri Dec 13 09:01:14 2013 +0100
completion-helper: accept empty prefix when listing installed pkgs
diff --git a/etc/yum.bash b/etc/yum.bash
index aae8992..16d096c 100644
--- a/etc/yum.bash
+++ b/etc/yum.bash
@@ -19,8 +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
+ # Listing all available packages takes way too long
+ [[ $1 != "installed" && ${#2} -lt 1 ]] && return
_yum_helper list "$@"
}
More information about the Yum-commits
mailing list