mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01: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:
@@ -56,6 +56,7 @@ done
|
|||||||
for config_file ($ZSH_CUSTOM/*.zsh(N)); do
|
for config_file ($ZSH_CUSTOM/*.zsh(N)); do
|
||||||
source $config_file
|
source $config_file
|
||||||
done
|
done
|
||||||
|
unset config_file
|
||||||
|
|
||||||
# Load the theme
|
# Load the theme
|
||||||
if [ "$ZSH_THEME" = "random" ]
|
if [ "$ZSH_THEME" = "random" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user