summaryrefslogtreecommitdiff
path: root/Completion/X/Command
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2017-04-26 16:32:10 +0200
committerOliver Kiddle <opk@zsh.org>2017-04-26 16:32:10 +0200
commit78afb218b0b2603db227667b616578bfe927518c (patch)
tree40277c76f6c347e144180b587a3e35c9fa0cbb5c /Completion/X/Command
parent408b92b168078a338f5fc2c2f95f39f8aa8e5f67 (diff)
downloadzsh-78afb218b0b2603db227667b616578bfe927518c.tar.gz
zsh-78afb218b0b2603db227667b616578bfe927518c.zip
40965: fix for missing local declarations of expl
Diffstat (limited to 'Completion/X/Command')
-rw-r--r--Completion/X/Command/_setxkbmap4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/X/Command/_setxkbmap b/Completion/X/Command/_setxkbmap
index d192cc17a..f7310ecdd 100644
--- a/Completion/X/Command/_setxkbmap
+++ b/Completion/X/Command/_setxkbmap
@@ -55,7 +55,7 @@ _setxkbmap_files () {
local dir="$1"
local label="$2"
- local -a fullpath shortpath
+ local -a fullpath shortpath expl
fullpath=($sourcedir/$dir/**/*~*README(.))
shortpath=(${fullpath#$sourcedir\/$dir\/})
@@ -82,7 +82,7 @@ _setxkbmap_geometry () {
(( $+functions[_setxkbmap_variant] )) ||
_setxkbmap_variant () {
local file=$sourcedir/symbols/${1}
- local -a variants lines
+ local -a variants lines expl
if [ ! -f $file ]; then
_message "no such layout: ${1}"