mirror of
https://github.com/conda-incubator/conda-zsh-completion.git
synced 2026-10-20 04:25:20 +08:00
add config
This commit is contained in:
@@ -200,6 +200,18 @@ case $state in
|
||||
'(-q --quiet)'{-q,--quiet}'[do not display progress bar]'\
|
||||
'--offline[offline mode, don''t connect to internet]' \
|
||||
;;
|
||||
(config)
|
||||
_arguments -C $help_opts \
|
||||
$json_opts \
|
||||
'--system[write to the system .condarc file]' \
|
||||
'--file[write to the given file.]:file:_path_files' \
|
||||
'--get[get the configuration value]' \
|
||||
'--add[add one configuration value to a list key]' \
|
||||
'--set[set a boolean key]' \
|
||||
'--remove[remove a configuration value from a list key]' \
|
||||
'--remove-key[remove a configuration key (and all its values)]' \
|
||||
'(-f --force)'{-f,--force}'[write to the config file using the yaml parser]' \
|
||||
;;
|
||||
(*)
|
||||
#_arguments -C $opts
|
||||
_path_files
|
||||
|
||||
Reference in New Issue
Block a user