diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-09 22:25:07 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-09 22:25:07 +0300 |
| commit | fd5976e16281feab4c69588f3d13285e5b0ef175 (patch) | |
| tree | 584b4033207f4a49ae5f4be59ebdc64c68a1bc5a /prompts/skills/rocky-vm-setup/references/scripts.md | |
| parent | 02eb0db90ccd4d21d31faa51a17abcb3d4e68e72 (diff) | |
rocky-vm-setup: add tmux default-terminal for 256-color helix support
Diffstat (limited to 'prompts/skills/rocky-vm-setup/references/scripts.md')
| -rw-r--r-- | prompts/skills/rocky-vm-setup/references/scripts.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/prompts/skills/rocky-vm-setup/references/scripts.md b/prompts/skills/rocky-vm-setup/references/scripts.md new file mode 100644 index 0000000..14fa7e0 --- /dev/null +++ b/prompts/skills/rocky-vm-setup/references/scripts.md @@ -0,0 +1,20 @@ +# Scripts + +## `/home/paul/scripts/update-coding-agents` + +```sh +#!/bin/sh +set -e +if [ "$(id -u)" -ne 0 ]; then + exec sudo "$0" "$@" +fi +echo "Updating Claude Code..." +npm update -g @anthropic-ai/claude-code @anthropic-ai/claude-code-linux-x64 +echo "Updating pi coding agent..." +npm update -g @earendil-works/pi-coding-agent +echo "All coding agents updated." +``` + +Run as paul: `$ /home/paul/scripts/update-coding-agents` + +Sudoers allows this specific script without a password. No other root access for paul. |
