update: optimize binary loading

This commit is contained in:
Tri Vo Khac committed 2024-07-05 00:46:20 +07:00
1 parent 406c0a5d6a
commit 5263d1f693
1 file changed
+5 -3
+5 -3
View File
@@ -25,9 +25,11 @@ zinit light starship/starship
# load binaries # load binaries
zinit as"command" wait lucid light-mode from"gh-r" for \ zinit as"command" wait lucid light-mode from"gh-r" for \
pick"bat-*/bat" atclone'cd $(ls -d */|head -n 1); cp autocomplete/bat.zsh _bat' atpull"%atclone" @sharkdp/bat \ extract"!" lsd-rs/lsd \
pick"lsd-*/lsd" lsd-rs/lsd \ extract"!" zyedidia/micro \
pick"micro-*/micro" zyedidia/micro \ extract"!" cp"autocomplete/bat.zsh -> _bat" @sharkdp/bat \
extract"!" atclone="cp usr/bin/fastfetch .; rm -rf usr" \
fastfetch-cli/fastfetch \
atclone"./zoxide init zsh > init.zsh" atpull"%atclone" src"init.zsh" \ atclone"./zoxide init zsh > init.zsh" atpull"%atclone" src"init.zsh" \
ajeetdsouza/zoxide \ ajeetdsouza/zoxide \
atclone"./fzf --zsh > init.zsh" atpull="%atclone" src"init.zsh" \ atclone"./fzf --zsh > init.zsh" atpull="%atclone" src"init.zsh" \