From 8d029c99f6c2b4b0873a99976be375dff8f1e168 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Wed, 2 Mar 2016 15:37:39 +0900 Subject: [PATCH] Move debug from __fisher_plugin_source to before call. --- functions/__fisher_plugin_enable.fish | 1 + functions/__fisher_plugin_source.fish | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/__fisher_plugin_enable.fish b/functions/__fisher_plugin_enable.fish index 37696cb..d6f9493 100644 --- a/functions/__fisher_plugin_enable.fish +++ b/functions/__fisher_plugin_enable.fish @@ -33,6 +33,7 @@ function __fisher_plugin_enable -a plugin path __fisher_plugin_link $link $source $fisher_config/$target if test "$class" = --source + debug "Source %s" "$fisher_config/$target" __fisher_plugin_source $plugin $fisher_config/$target end end diff --git a/functions/__fisher_plugin_source.fish b/functions/__fisher_plugin_source.fish index 9404663..a47a71f 100644 --- a/functions/__fisher_plugin_source.fish +++ b/functions/__fisher_plugin_source.fish @@ -1,4 +1,3 @@ function __fisher_plugin_source -a plugin file - debug "Source %s" $file source "$file" ^ /dev/null end