zsh: automatic antidote setup
This commit is contained in:
parent
96c477972e
commit
f799a8912f
|
@ -70,6 +70,10 @@ fi
|
||||||
[[ -z ${_my_plugins} ]] && return
|
[[ -z ${_my_plugins} ]] && return
|
||||||
# If there are plugins not handled by the package manager, use antidote
|
# If there are plugins not handled by the package manager, use antidote
|
||||||
zstyle ':antidote:compatibility-mode' 'antibody' # TODO: switch to native mode
|
zstyle ':antidote:compatibility-mode' 'antibody' # TODO: switch to native mode
|
||||||
|
if [[ ! -f ${ZDOTDIR}/.antidote/antidote.zsh ]]; then
|
||||||
|
git clone --depth=1 https://github.com/mattmc3/antidote.git ${ZDOTDIR}/.antidote
|
||||||
|
fi
|
||||||
|
source ${ZDOTDIR}/.antidote/antidote.zsh
|
||||||
if command -v antidote > /dev/null; then
|
if command -v antidote > /dev/null; then
|
||||||
zmodload zsh/stat
|
zmodload zsh/stat
|
||||||
zmodload zsh/datetime
|
zmodload zsh/datetime
|
||||||
|
|
Loading…
Reference in New Issue
Block a user