|
@@ -15,16 +15,12 @@ export PATH="${HOME}/bin:${HOME}/.bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/b
|
|
# load prezto
|
|
# load prezto
|
|
BUNDLES_ROOT="${ZSHDOTDIR}/bundles"
|
|
BUNDLES_ROOT="${ZSHDOTDIR}/bundles"
|
|
PREZTO_INIT="${BUNDLES_ROOT}/prezto/init.zsh"
|
|
PREZTO_INIT="${BUNDLES_ROOT}/prezto/init.zsh"
|
|
-OVERRIDES_ROOT="${ZSHDOTDIR}/overrides"
|
|
|
|
-OVERRIDES_PREZTO_INIT="${OVERRIDES_ROOT}/prezto/init.zsh"
|
|
|
|
if [ -f "${PREZTO_INIT}" ]; then
|
|
if [ -f "${PREZTO_INIT}" ]; then
|
|
export ZDOTDIR="${BUNDLES_ROOT}"
|
|
export ZDOTDIR="${BUNDLES_ROOT}"
|
|
source "${PREZTO_INIT}"
|
|
source "${PREZTO_INIT}"
|
|
- export ZDOTDIR="${OVERRIDES_ROOT}"
|
|
|
|
- source "${OVERRIDES_PREZTO_INIT}"
|
|
|
|
unset ZDOTDIR
|
|
unset ZDOTDIR
|
|
fi
|
|
fi
|
|
-unset BUNDLES_ROOT PREZTO_INIT OVERRIDES_ROOT OVERRIDES_PREZTO_INIT
|
|
|
|
|
|
+unset BUNDLES_ROOT PREZTO_INIT
|
|
|
|
|
|
# overide insecure stuff with compinit while using 'sudo zsh'
|
|
# overide insecure stuff with compinit while using 'sudo zsh'
|
|
# my functions (don't forget to modify fpath before call compinit !!)
|
|
# my functions (don't forget to modify fpath before call compinit !!)
|