From 342df8ff00e3c1e09a500141020d36a248ca24d4 Mon Sep 17 00:00:00 2001 From: Valentin Haenel Date: Sat, 14 Feb 2015 17:21:20 +0100 Subject: [PATCH] localize some variables --- _conda | 1 + 1 file changed, 1 insertion(+) diff --git a/_conda b/_conda index 6392550..21811fb 100644 --- a/_conda +++ b/_conda @@ -343,6 +343,7 @@ case $state in ;; (config) # this allows completing multiple keys + local -a last_item get_opts last_item=$line[$CURRENT-1] if [[ ${line[(r)--get]} == --get ]] && [[ ${config_options[(r)$last_item]} == $last_item ]] ; then get_opts=('*:keys:__conda_config')