mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
fix(completion): balance paren and escape $PATH in snippet --command spec
This commit is contained in:
parent
1eae28dfb5
commit
537d364f53
2
_zinit
2
_zinit
|
|
@ -282,7 +282,7 @@ _zinit_self_update(){
|
|||
# FUNCTION: _zinit_snippet [[[
|
||||
_zinit_snippet(){
|
||||
_arguments -A \
|
||||
'(-c --command)'{-c,--command}'[Load the snippet as a command (i.e., make executable and apend to $PATH])' \
|
||||
'(-c --command)'{-c,--command}'[Load the snippet as a command (i.e., make executable and apend to \$PATH)]' \
|
||||
'(-f --force)'{-f,--force}'[Force new download of the snippet file]' \
|
||||
'(-h --help)'{-h,--help}'[Show this help message]'
|
||||
_arguments - snippet '*::snippet:__zinit_installed_snippets' && ret=0
|
||||
|
|
|
|||
Loading…
Reference in a new issue