add config

This commit is contained in:
Valentin Haenel
2015-02-11 16:04:43 +01:00
parent b914e8b81b
commit 17e6ec1c4f
+12
View File
@@ -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