diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/X/Command/_setxkbmap | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 7bf719390..417408d81 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2016-07-05 Oliver Kiddle <opk@zsh.org> + * arno: 38780: Completion/X/Command/_setxkbmap: include + variants containing non alphanumeric symbols in completion + * Jordan Klassen: users/21551 (tweaked per users/21560): Completion/Unix/Command/_git: new git subtree completion 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 |