File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,25 +10,11 @@ zstyle ':antidote:bundle' use-friendly-names 'yes'
1010
1111bindkey -e
1212
13+ # source antidote
1314source $XDG_DATA_HOME /antidote/antidote.zsh
1415
15- # Set the name of the static .zsh plugins file antidote will generate.
16- zsh_plugins=${ZDOTDIR:- ~} /.zsh_plugins.zsh
17-
18- # Ensure you have a .zsh_plugins.txt file where you can add plugins.
19- [[ -f ${zsh_plugins: r} .txt ]] || touch ${zsh_plugins: r} .txt
20-
21- # Lazy-load antidote.
22- fpath+=($XDG_DATA_HOME /antidote)
23- autoload -Uz $fpath [-1]/antidote
24-
25- # Generate static file in a subshell when .zsh_plugins.txt is updated.
26- if [[ ! $zsh_plugins -nt ${zsh_plugins: r} .txt ]]; then
27- (antidote bundle < ${zsh_plugins: r} .txt > | $zsh_plugins )
28- fi
29-
30- # Source your static plugins file.
31- source $zsh_plugins
16+ # initialize plugins statically with ${ZDOTDIR:-$HOME}/.zsh_plugins.txt
17+ antidote load
3218
3319_anyframe-config () {
3420 zle -N _anyframe-gitmoji
You can’t perform that action at this time.
0 commit comments