diff options
author | Larry Lv <larrylv1990@gmail.com> | 2012-12-05 16:13:53 +0800 |
---|---|---|
committer | Larry Lv <larrylv1990@gmail.com> | 2012-12-05 16:13:53 +0800 |
commit | 6c5e63022d9f8c0c9a930b0110da3a4b8fee6cf0 (patch) | |
tree | fe4ca5bfe2216c67721f321d75a9cecd50ac3b68 /oh-my-zsh.sh | |
parent | 178bce287ea26e5052091e66415521703848d5da (diff) | |
download | zsh-6c5e63022d9f8c0c9a930b0110da3a4b8fee6cf0.tar.gz zsh-6c5e63022d9f8c0c9a930b0110da3a4b8fee6cf0.tar.bz2 zsh-6c5e63022d9f8c0c9a930b0110da3a4b8fee6cf0.zip |
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...
Diffstat (limited to 'oh-my-zsh.sh')
-rw-r--r-- | oh-my-zsh.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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" ] |