From dc1400f1ae6733dbd12a1273fa82daa28f8f75ba Mon Sep 17 00:00:00 2001 From: Valentin Haenel Date: Sat, 14 Feb 2015 17:28:04 +0100 Subject: [PATCH] be mor specific which keys we are dealing with --- _conda | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_conda b/_conda index 716affd..9988934 100644 --- a/_conda +++ b/_conda @@ -362,9 +362,9 @@ case $state in '--system[write to the system .condarc file]' \ '--file[write to the given file.]:file:_path_files' \ '( --add --set --remove --remove-key)--get[get the configuration value]:key:__conda_config' \ - '(--get --set --remove --remove-key)--add[add one configuration value to a list key]:key:__list_conda_config:value:' \ - '(--get --add --remove --remove-key)--set[set a boolean key]:key:__boolean_conda_config:value:__conda_boolean_config_value' \ - '(--get --add --set --remove-key)--remove[remove a configuration value from a list key]:key:__conda_config:value:{__conda_config_values_describe '$last_item'}' \ + '(--get --set --remove --remove-key)--add[add one configuration value to a list key]:list key:__list_conda_config:value:' \ + '(--get --add --remove --remove-key)--set[set a boolean key]:boolean key:__boolean_conda_config:value:__conda_boolean_config_value' \ + '(--get --add --set --remove-key)--remove[remove a configuration value from a list key]:list key:__list_conda_config:value:{__conda_config_values_describe '$last_item'}' \ '(--get --add --set --remove )--remove-key[remove a configuration key (and all its values)]:key:__conda_config' \ '(-f --force)'{-f,--force}'[write to the config file using the yaml parser]' \ $get_opts