From 23e5e832801e3c6910ebad91e5108806486b4440 Mon Sep 17 00:00:00 2001 From: Aziz Light Date: Sun, 7 Nov 2010 05:14:23 +0800 Subject: [PATCH] automatically remove duplicates from these arrays --- oh-my-zsh.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index 848e48eb5..53e696546 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -14,6 +14,9 @@ for config_file ($ZSH/custom/*.zsh) source $config_file plugin=${plugin:=()} for plugin ($plugins) source $ZSH/plugins/$plugin/$plugin.plugin.zsh +# automatically remove duplicates from these arrays +typeset -U path cdpath fpath manpath + # Check for updates on initial load... if [ "$DISABLE_AUTO_UPDATE" = "true" ] then