summary refs log tree commit diff
path: root/Completion/X/Command
diff options
context:
space:
mode:
authorarno <arno@renevier.net>2016-07-05 23:27:59 +0200
committerOliver Kiddle <opk@zsh.org>2016-07-05 23:30:46 +0200
commit080b1cababbb8c883d5c87017d96b368a4c93fae (patch)
treef3c2b92bb3261ecb11bfbc228385aa6c180f8999 /Completion/X/Command
parent92d516cfa7686b58ba7731b942766e706cae29ae (diff)
downloadzsh-080b1cababbb8c883d5c87017d96b368a4c93fae.tar.gz
zsh-080b1cababbb8c883d5c87017d96b368a4c93fae.tar.xz
zsh-080b1cababbb8c883d5c87017d96b368a4c93fae.zip
38780: include variants containing non alphanumeric symbols in completion
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 c490a9d8c..d192cc17a 100644
--- a/Completion/X/Command/_setxkbmap
+++ b/Completion/X/Command/_setxkbmap
@@ -1,4 +1,4 @@
-# compdef setxkbmap
+#compdef setxkbmap
 
 # TODO:
 # model, option, symbols and types suggestions
@@ -90,7 +90,7 @@ _setxkbmap_variant () {
     fi
 
     lines=("${(f)$(< ${file})}")
-    variants=(${${${(M)lines:#*xkb_symbols*\"([[:alnum:]])##\"*}##*xkb_symbols([^\"])##\"}%%\"*})
+    variants=(${${${(M)lines:#*xkb_symbols*\"([^\"])##\"*}##*xkb_symbols([^\"])##\"}%%\"*})
     
     _wanted variant expl 'variant' compadd -a variants