fix update

This commit is contained in:
2026-10-19 13:56:54 -06:00
parent a15eac4240
commit a65f07c22e
21 changed files with 241 additions and 64 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
is_installed() {
[ -d "$HOME/.tmux/plugins/tpm" ]
}
run_update() {
echo "Updating TPM and tmux plugins..."
local failed=0
for plugin in "$HOME/.tmux/plugins/"*/; do
[ -d "$plugin/.git" ] || continue
echo " $(basename "$plugin")"
git -C "$plugin" pull --ff-only --quiet || failed=1
done
return $failed
}