diff options
author | Oliver Kiddle <opk@zsh.org> | 2016-07-28 16:12:59 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2016-07-28 16:12:59 +0200 |
commit | 54d5f8e3632ca3698d90662d49d1320f91827078 (patch) | |
tree | ec6b15890fc84d277c9964a7395d940860d920bc /Completion/Zsh/Command/_vared | |
parent | 7830a8c498730cd08dad27d4d6ec9722f9cd637a (diff) | |
download | zsh-54d5f8e3632ca3698d90662d49d1320f91827078.tar.gz zsh-54d5f8e3632ca3698d90662d49d1320f91827078.tar.xz zsh-54d5f8e3632ca3698d90662d49d1320f91827078.zip |
38956: factor out zle widget completion into its own function
Diffstat (limited to 'Completion/Zsh/Command/_vared')
-rw-r--r-- | Completion/Zsh/Command/_vared | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Zsh/Command/_vared b/Completion/Zsh/Command/_vared index 2bcc87bc8..aba64880a 100644 --- a/Completion/Zsh/Command/_vared +++ b/Completion/Zsh/Command/_vared @@ -6,8 +6,8 @@ _arguments -s -A "-*" \ "-c[create parameter or change type]" \ '-p+[specify left prompt]:prompt' \ '-r+[specify right prompt]:right prompt' \ - '-i+[specify initialisation widget]:widget:compadd -M "r\:|-=* r\:|=*" -k widgets' \ - '-f+[specify finish widget]:widget:compadd -M "r\:|-=* r\:|=*" -k widgets' \ + '-i+[specify initialisation widget]:widget:_widgets' \ + '-f+[specify finish widget]:widget:_widgets' \ '-h[allow access to history]' \ '-e[exit on EOF (^D)]' \ '1:parameter spec:_vars' |