From 8025edd072ae031e2b80c4ad60e0f160d18314ac Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 27 Sep 2015 17:18:45 +0200 Subject: [PATCH] ax.zsh: Undefined "axzsh_load_plugin" function, it's not public Plugins can't be loaded with this function on runtime (because plugins can consist of different stages: zlogin/zprofile/zshrc/...), so don't pollute the namespace. --- ax.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/ax.zsh b/ax.zsh index 7755f7e..0e571b9 100644 --- a/ax.zsh +++ b/ax.zsh @@ -71,5 +71,6 @@ plugin_list=( for plugin ($plugin_list); do axzsh_load_plugin "$plugin" "$script_type" done +unfunction axzsh_load_plugin unset script_name script_type plugin unset plugin_list -- 2.39.2