summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/colorize/colorize.plugin.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/colorize/colorize.plugin.zsh b/plugins/colorize/colorize.plugin.zsh
index 80b69190f..cb5ac36f5 100644
--- a/plugins/colorize/colorize.plugin.zsh
+++ b/plugins/colorize/colorize.plugin.zsh
@@ -6,7 +6,8 @@ alias cless="colorize_less"
ZSH_COLORIZE_PLUGIN_PATH=$0:A
colorize_check_requirements() {
- local available_tools=("chroma" "pygmentize")
+ local -a available_tools
+ available_tools=("chroma" "pygmentize")
if [ -z "$ZSH_COLORIZE_TOOL" ]; then
if (( $+commands[pygmentize] )); then