use zstyle like mattmc3
This commit is contained in:
parent
b789595a50
commit
0971472df1
3 changed files with 16 additions and 1 deletions
|
@ -25,6 +25,10 @@ ${ZDOTDIR}/plugins/prompt
|
|||
mattmc3/zephyr path:plugins/confd
|
||||
${ZDOTDIR}/plugins/zexists
|
||||
|
||||
# start compinit before fzf-tab
|
||||
mattmc3/zephyr path:plugins/completion
|
||||
|
||||
|
||||
# deferred
|
||||
zdharma-continuum/fast-syntax-highlighting kind:defer
|
||||
Aloxaf/fzf-tab kind:defer
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
[[ -r $ZDOTDIR/.zstyles ]] && . $ZDOTDIR/.zstyles
|
||||
|
||||
[[ -d ${ZDOTDIR:-~}/.antidote ]] ||
|
||||
git clone https://github.com/mattmc3/antidote ${ZDOTDIR:-~}/.antidote
|
||||
|
||||
source ${ZDOTDIR:-~}/.antidote/antidote.zsh
|
||||
antidote load ${ZDOTDIR:-~}/.zplugins
|
||||
antidote load
|
||||
|
||||
|
|
9
home/private_dot_config/zsh/dot_zstyles
Normal file
9
home/private_dot_config/zsh/dot_zstyles
Normal 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
|
Loading…
Reference in a new issue