This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| # | |
| # daily-update.sh — keep Homebrew packages and global npm packages up to date. | |
| # | |
| # ─── What this script does ───────────────────────────────────────────────── | |
| # 1. brew update — refresh Homebrew's package metadata | |
| # 2. brew upgrade — upgrade installed formulae/casks | |
| # 3. brew cleanup — remove old versions and caches | |
| # 4. npm update -g — update global npm packages within their semver ranges | |
| # (does NOT bump major versions; that requires |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # ============================================================================== | |
| # Claude Code Status Line | |
| # ============================================================================== | |
| # This script creates a rich status line for Claude Code showing: | |
| # - Current model being used | |
| # - Mode (if in plan/edit mode) | |
| # - Context window usage percentage | |
| # - Token usage (input/output totals for the session) | |
| # - Session cost in USD |