aboutsummaryrefslogtreecommitdiffhomepage
path: root/function.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-02-20 03:01:16 +1000
committerGravatar axel <axel@liljencrantz.se>2006-02-20 03:01:16 +1000
commit7dc39349978c2779d92a527e13096b93211b6344 (patch)
treea0c1038dadf5e09c502bd17821b491373e30a1f0 /function.c
parent845e15876c750171103ab9b21927c2fcf9517d8d (diff)
Use variable name as index for tables when autoloading functions and completions in order to better handle changes on path variable values
darcs-hash:20060219170116-ac50b-8f617c6f8960660e6227827914dc910a78655c13.gz
Diffstat (limited to 'function.c')
-rw-r--r--function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/function.c b/function.c
index 02f03496..8e77de3a 100644
--- a/function.c
+++ b/function.c
@@ -60,7 +60,7 @@ static int load( const wchar_t *name )
is_autoload = 1;
res = parse_util_load( name,
- env_get( L"fish_function_path" ),
+ L"fish_function_path",
&function_remove,
1 );
is_autoload = was_autoload;