refactor: Update zinit plugin configurations to use atclone and atpull hooks for initialization and completion generation, and adjust plugin-specific options.
This commit is contained in:
1 parent
356ad9d74b
commit
576e20682e
1 file changed
+22
-17
+22
-17
@@ -13,53 +13,58 @@ zinit wait lucid light-mode id-as depth'1' for \
|
|||||||
atload'_zsh_autosuggest_start' \
|
atload'_zsh_autosuggest_start' \
|
||||||
zsh-users/zsh-autosuggestions
|
zsh-users/zsh-autosuggestions
|
||||||
|
|
||||||
zinit id-as from'gh-r' lbin'!' null for \
|
zinit id-as from'gh-r' lbin'!' completions for \
|
||||||
lsd-rs/lsd \
|
lsd-rs/lsd \
|
||||||
micro-editor/micro \
|
micro-editor/micro \
|
||||||
@sharkdp/bat
|
mv'**/bat.zsh -> _bat' \
|
||||||
|
@sharkdp/bat
|
||||||
|
|
||||||
zinit for \
|
zinit for \
|
||||||
id-as \
|
id-as \
|
||||||
from'gh-r' \
|
from'gh-r' \
|
||||||
sbin'!**/bin/fastfetch -> fastfetch' \
|
mv'**/bin/fastfetch -> fastfetch' \
|
||||||
|
atclone'for dir in fastfetch*/; do rm -rf "$dir"; done' \
|
||||||
|
atpull'%atclone' \
|
||||||
|
sbin'fastfetch' \
|
||||||
@fastfetch-cli/fastfetch
|
@fastfetch-cli/fastfetch
|
||||||
|
|
||||||
zinit for \
|
zinit for \
|
||||||
id-as \
|
id-as \
|
||||||
atload'eval "$(zoxide init zsh)"' \
|
|
||||||
from'gh-r' \
|
from'gh-r' \
|
||||||
|
atclone'./zoxide init zsh > init.zsh' \
|
||||||
|
atpull'%atclone' \
|
||||||
lbin'!' \
|
lbin'!' \
|
||||||
@ajeetdsouza/zoxide
|
@ajeetdsouza/zoxide
|
||||||
|
|
||||||
zinit for \
|
zinit for \
|
||||||
id-as \
|
id-as \
|
||||||
as'completion' \
|
from'gh-r' \
|
||||||
atclone'./fnm completions --shell zsh > _fnm.zsh' \
|
atclone'
|
||||||
atload'eval "$(fnm env --use-on-cd --shell zsh)"' \
|
./fnm env --use-on-cd --shell zsh > init.zsh; \
|
||||||
|
./fnm completions --shell zsh > _fnm;
|
||||||
|
' \
|
||||||
atpull'%atclone' \
|
atpull'%atclone' \
|
||||||
blockf \
|
blockf \
|
||||||
from'gh-r' \
|
|
||||||
nocompile \
|
|
||||||
sbin'fnm' \
|
sbin'fnm' \
|
||||||
@Schniz/fnm
|
@Schniz/fnm
|
||||||
|
|
||||||
zinit for \
|
zinit for \
|
||||||
id-as \
|
id-as \
|
||||||
as'completion' \
|
|
||||||
atclone'./starship completions zsh > _starship' \
|
|
||||||
atpull'%atclone' \
|
|
||||||
atload'eval "$(starship init zsh)"' \
|
|
||||||
from'gh-r' \
|
from'gh-r' \
|
||||||
sbin'**/starship -> starship' \
|
atclone'
|
||||||
|
./starship init zsh > init.zsh; \
|
||||||
|
./starship completions zsh > _starship;
|
||||||
|
' \
|
||||||
|
atpull'%atclone' \
|
||||||
|
sbin'starship' \
|
||||||
@starship/starship
|
@starship/starship
|
||||||
|
|
||||||
zinit for \
|
zinit for \
|
||||||
id-as \
|
id-as \
|
||||||
from'gh-r' \
|
from'gh-r' \
|
||||||
lbin'!fzf' \
|
atclone'./fzf --zsh > init.zsh' \
|
||||||
atclone'./fzf --zsh > fzf.zsh' \
|
|
||||||
atpull'%atclone' \
|
atpull'%atclone' \
|
||||||
src'fzf.zsh' \
|
lbin'!fzf' \
|
||||||
@junegunn/fzf
|
@junegunn/fzf
|
||||||
|
|
||||||
for script in $ZDOTDIR/config/*.zsh; do
|
for script in $ZDOTDIR/config/*.zsh; do
|
||||||
|
|||||||
Reference in new issue
Block a user