1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-20 12:50:08 +00:00

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<Tab>`,
config_file will show up, and doesn't make any sense...
This commit is contained in:
Larry Lv 2012-12-05 16:13:53 +08:00
parent 178bce287e
commit 6c5e63022d

View file

@ -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" ]