From d18c4561b7df66a0143849466ee173272c4bc18b Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 28 Dec 2021 13:47:45 +0100 Subject: [PATCH] Fix core plugin numbering [0-4]*: Runs pre-plugins [5-9]*: Runs post-plugins --- ax.zsh | 4 ++-- core/{40_path/40_path.zprofile => 30_path/30_path.zprofile} | 0 core/{50_axzsh/50_axzsh.zshrc => 40_axzsh/40_axzsh.zshrc} | 0 core/{50_axzsh => 40_axzsh}/functions/_axzsh | 0 .../50_completion.zshrc => 40_completion/40_completion.zshrc} | 0 core/{50_prompt/50_prompt.zshrc => 40_prompt/40_prompt.zshrc} | 0 6 files changed, 2 insertions(+), 2 deletions(-) rename core/{40_path/40_path.zprofile => 30_path/30_path.zprofile} (100%) rename core/{50_axzsh/50_axzsh.zshrc => 40_axzsh/40_axzsh.zshrc} (100%) rename core/{50_axzsh => 40_axzsh}/functions/_axzsh (100%) rename core/{50_completion/50_completion.zshrc => 40_completion/40_completion.zshrc} (100%) rename core/{50_prompt/50_prompt.zshrc => 40_prompt/40_prompt.zshrc} (100%) diff --git a/ax.zsh b/ax.zsh index 00c242e..edda709 100644 --- a/ax.zsh +++ b/ax.zsh @@ -55,9 +55,9 @@ function axzsh_handle_stage { local plugin_list typeset -U plugin_list plugin_list=( - "$AXZSH/core/"[0-5]* + "$AXZSH/core/"[0-4]* "$AXZSH/active_plugins/"*(N) - "$AXZSH/core/"[6-9]* + "$AXZSH/core/"[5-9]* ) # Create new cache file: diff --git a/core/40_path/40_path.zprofile b/core/30_path/30_path.zprofile similarity index 100% rename from core/40_path/40_path.zprofile rename to core/30_path/30_path.zprofile diff --git a/core/50_axzsh/50_axzsh.zshrc b/core/40_axzsh/40_axzsh.zshrc similarity index 100% rename from core/50_axzsh/50_axzsh.zshrc rename to core/40_axzsh/40_axzsh.zshrc diff --git a/core/50_axzsh/functions/_axzsh b/core/40_axzsh/functions/_axzsh similarity index 100% rename from core/50_axzsh/functions/_axzsh rename to core/40_axzsh/functions/_axzsh diff --git a/core/50_completion/50_completion.zshrc b/core/40_completion/40_completion.zshrc similarity index 100% rename from core/50_completion/50_completion.zshrc rename to core/40_completion/40_completion.zshrc diff --git a/core/50_prompt/50_prompt.zshrc b/core/40_prompt/40_prompt.zshrc similarity index 100% rename from core/50_prompt/50_prompt.zshrc rename to core/40_prompt/40_prompt.zshrc -- 2.39.2