diff options
author | arno <arno@renevier.net> | 2016-07-05 23:27:59 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2016-07-05 23:30:46 +0200 |
commit | 080b1cababbb8c883d5c87017d96b368a4c93fae (patch) | |
tree | f3c2b92bb3261ecb11bfbc228385aa6c180f8999 /Completion/X/Command | |
parent | 92d516cfa7686b58ba7731b942766e706cae29ae (diff) | |
download | zsh-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/_setxkbmap | 4 |
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 |