Browse files

Unset `config_file` variable in

`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<Tab>`,
config_file will show up, and doesn't make any sense...
  • Loading branch information...
1 parent 178bce2 commit 6c5e63022d9f8c0c9a930b0110da3a4b8fee6cf0 @larrylv larrylv committed Dec 5, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0
@@ -56,6 +56,7 @@ done
for config_file ($ZSH_CUSTOM/*.zsh(N)); do
source $config_file
+unset config_file
# Load the theme
if [ "$ZSH_THEME" = "random" ]

0 comments on commit 6c5e630

Please sign in to comment.