From ee1921b4c4eecc7dc7cf7eb32bdf61cb71ddd7c2 Mon Sep 17 00:00:00 2001 From: "Kevin F. Konrad" Date: Tue, 23 Jul 2019 07:21:53 +0200 Subject: [PATCH] Add missing quotation marks in autoload (#711) --- lib/autoload.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/autoload.fish b/lib/autoload.fish index 03855ec..bced8f8 100644 --- a/lib/autoload.fish +++ b/lib/autoload.fish @@ -45,8 +45,8 @@ function __autoload_erase or set function_indexes $function_indexes (contains -i $path $fish_function_path) end; test -n "$function_indexes" - and set -e fish_function_path[$function_indexes] + and set -e fish_function_path["$function_indexes"] test -n "$complete_indexes" - and set -e fish_complete_path[$complete_indexes] + and set -e fish_complete_path["$complete_indexes"] return 0 end;