more keys after get should be from the list of exisiting keys

This commit is contained in:
Valentin Haenel
2015-02-16 18:19:24 +01:00
parent 07edc37a79
commit dcfacd9b87

2
_conda
View File

@@ -460,7 +460,7 @@ case $state in
local -a last_item get_opts
last_item=$line[$CURRENT-1]
if (( ${line[(I)--get]} )) && (( ${__conda_config_keys[(I)$last_item]} )) ; then
get_opts=('*:keys:__conda_describe_config_keys')
get_opts=('*:keys:__conda_describe_existing_config_keys')
else
get_opts=''
fi