diff options
author | Oliver Kiddle <opk@zsh.org> | 2017-04-26 16:32:10 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2017-04-26 16:32:10 +0200 |
commit | 78afb218b0b2603db227667b616578bfe927518c (patch) | |
tree | 40277c76f6c347e144180b587a3e35c9fa0cbb5c /Completion/Debian/Type | |
parent | 408b92b168078a338f5fc2c2f95f39f8aa8e5f67 (diff) | |
download | zsh-78afb218b0b2603db227667b616578bfe927518c.tar.gz zsh-78afb218b0b2603db227667b616578bfe927518c.tar.xz zsh-78afb218b0b2603db227667b616578bfe927518c.zip |
40965: fix for missing local declarations of expl
Diffstat (limited to 'Completion/Debian/Type')
-rw-r--r-- | Completion/Debian/Type/_deb_architectures | 2 | ||||
-rw-r--r-- | Completion/Debian/Type/_debbugs_bugnumber | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Completion/Debian/Type/_deb_architectures b/Completion/Debian/Type/_deb_architectures index 22c43dd3e..1429112a8 100644 --- a/Completion/Debian/Type/_deb_architectures +++ b/Completion/Debian/Type/_deb_architectures @@ -1,6 +1,6 @@ #autoload -local extra +local extra expl zparseopts -E -D -a extra a: _description architectures expl 'architecture' diff --git a/Completion/Debian/Type/_debbugs_bugnumber b/Completion/Debian/Type/_debbugs_bugnumber index f7b09054d..85e0c60d6 100644 --- a/Completion/Debian/Type/_debbugs_bugnumber +++ b/Completion/Debian/Type/_debbugs_bugnumber @@ -1,6 +1,8 @@ #autoload # TODO: use _describe with some basic metadata (e.g., bug title/package/version) +local expl + [[ $PREFIX$SUFFIX == [0-9]# ]] || return 1 # The cache directory moved; try both locations. |