use zstyle like mattmc3

This commit is contained in:
Daylin Morgan 2023-11-29 16:35:38 -06:00
parent b789595a50
commit 0971472df1
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
3 changed files with 16 additions and 1 deletions

View file

@ -25,6 +25,10 @@ ${ZDOTDIR}/plugins/prompt
mattmc3/zephyr path:plugins/confd mattmc3/zephyr path:plugins/confd
${ZDOTDIR}/plugins/zexists ${ZDOTDIR}/plugins/zexists
# start compinit before fzf-tab
mattmc3/zephyr path:plugins/completion
# deferred # deferred
zdharma-continuum/fast-syntax-highlighting kind:defer zdharma-continuum/fast-syntax-highlighting kind:defer
Aloxaf/fzf-tab kind:defer Aloxaf/fzf-tab kind:defer

View file

@ -1,8 +1,10 @@
#!/usr/bin/env zsh #!/usr/bin/env zsh
[[ -r $ZDOTDIR/.zstyles ]] && . $ZDOTDIR/.zstyles
[[ -d ${ZDOTDIR:-~}/.antidote ]] || [[ -d ${ZDOTDIR:-~}/.antidote ]] ||
git clone https://github.com/mattmc3/antidote ${ZDOTDIR:-~}/.antidote git clone https://github.com/mattmc3/antidote ${ZDOTDIR:-~}/.antidote
source ${ZDOTDIR:-~}/.antidote/antidote.zsh source ${ZDOTDIR:-~}/.antidote/antidote.zsh
antidote load ${ZDOTDIR:-~}/.zplugins antidote load

View file

@ -0,0 +1,9 @@
#!/usr/bin/env zsh
zstyle ':antidote:bundle' file ${ZDOTDIR:-~}/.zplugins
zstyle ':antidote:static' file ${ZDOTDIR:-~}/.zplugins.zsh
zstyle ':antidote:bundle' use-friendly-names 'yes'
zstyle ':antidote:plugin:*' defer-options '-p'
# Set this to whatever you want to use to edit a command
zstyle :zle:edit-command-line editor vim