better handling of loadable modules

prevent loading specific modules (oh-my-zsh/lib/*.zsh)
via "config_exclude" variable
instead of messing with .gitignore
This commit is contained in:
Konstantin Demin 2016-07-11 10:39:33 +03:00
commit 1b00c97f27
No known key found for this signature in database
GPG key ID: 1F33CB0BA4731BC6
2 changed files with 16 additions and 4 deletions

View file

@ -45,6 +45,14 @@ ZSH_THEME="robbyrussell"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# If you want exclude some modules from loading,
# you'll need to specify file names only (without extension) to do this.
# Example: config_exclude=(bzr)
# This will prevent loading ${ZSH}/lib/bzr.zsh and ${ZSH_CUSTOM}/lib/bzr.zsh,
# if any.
# However, you may load modules by yourself in any time.
config_exclude=()
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)