From 6c5e63022d9f8c0c9a930b0110da3a4b8fee6cf0 Mon Sep 17 00:00:00 2001 From: Larry Lv Date: Wed, 5 Dec 2012 16:13:53 +0800 Subject: [PATCH] Unset `config_file` variable in oh-my-zsh.sh `config_file` variable will mess up with `cd` auto-complete command. eg. I have a local dir named `Code`, and when I type `cd co`, config_file will show up, and doesn't make any sense... --- oh-my-zsh.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index 4a5b175d5..689a79fef 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -56,6 +56,7 @@ done for config_file ($ZSH_CUSTOM/*.zsh(N)); do source $config_file done +unset config_file # Load the theme if [ "$ZSH_THEME" = "random" ]