Skip to content

Commit 1715d7f

Browse files
committed
style(scripts): add progress messages for bat and mise updates
Add visual feedback during system update process by printing step descriptions before running bat cache build and mise plugin updates, improving clarity of what operations are in progress.
1 parent 3e634d1 commit 1715d7f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.config/yadm/scripts/update-common.zsh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ local _zinit_data="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit"
3030
rm -f ~/*.zwc(N) ~/.shellrc/**/*.zwc(N) ${_zinit_data}/**/*.zwc(N)
3131
zsh -i -c 'sleep 5' # Allow time for .zlogin to asynchronously regenerate the .zwc files
3232

33+
printf "${YELLOW}%s${NC}\n" "Build bat theme"
3334
bat cache --build # Ensure any custom themes and syntax definition files are compiled
3435

3536
_update_step "npm"

.config/yadm/scripts/update.zsh##os.Darwin

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ _update_step "brew update"
4646
brew update
4747
brew upgrade
4848

49+
printf "${YELLOW}%s${NC}\n" "Updating mise plugins and upgrading mise"
4950
_update_step "mise plugins"
5051
(cd ~ && mise plugins update && mise install --yes && mise upgrade)
5152

0 commit comments

Comments
 (0)