summary refs log tree commit diff
diff options
context:
space:
mode:
authorTomasz Pala <gotar@polanet.pl>2017-08-16 20:54:20 +0200
committerOliver Kiddle <opk@zsh.org>2017-08-17 00:01:01 +0200
commit2b0bc3282f959acf5efc974feb1593900da9d8f2 (patch)
tree6ed5643e2882266a02969c349d3f3b8fe69d0d4c
parent8197af9b9c83d06dfe27478e9ce977b1e47883f9 (diff)
downloadzsh-2b0bc3282f959acf5efc974feb1593900da9d8f2.tar.gz
zsh-2b0bc3282f959acf5efc974feb1593900da9d8f2.tar.xz
zsh-2b0bc3282f959acf5efc974feb1593900da9d8f2.zip
users/22834: fix irritating bug in file glob for Linux kernel modules
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Linux/Command/_modutils2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 37e07f815..7908863c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2017-08-16  Oliver Kiddle  <opk@zsh.org>
 
+	* Tomasz Pala: users/22834: Completion/Linux/Command/_modutils:
+	fix irritating bug in file glob for Linux kernel modules
+
 	* Tomasz Pala: users/22834: Completion/Unix/Command/_ip:
 	allow completion after -c and a few other new options
 
diff --git a/Completion/Linux/Command/_modutils b/Completion/Linux/Command/_modutils
index 7de97f60e..5aa4c9cc7 100644
--- a/Completion/Linux/Command/_modutils
+++ b/Completion/Linux/Command/_modutils
@@ -107,7 +107,7 @@ _modutils() {
 	    if _cache_invalid modules-$kver || ! _retrieve_cache modules-$kver;
 	    then 
 		# 2011-01-02 gi1242: Do we need .o files? Or is .ko enough?
-		modules=( $modules_dir/$kver/(*~(source|build))/**/*.(o|ko|ko.gz|.ko.xz)(.:t:r:r) )
+		modules=( $modules_dir/$kver/(*~(source|build))/**/*.(o|ko|ko.gz|ko.xz)(.:t:r:r) )
 		_store_cache modules-$kver modules
 	    fi