Skip to content

fix: use cross-platform stat for git cache and add PS1-style prompt#2

Open
craig7351 wants to merge 1 commit into
kcchien:mainfrom
craig7351:fix/cross-platform-stat
Open

fix: use cross-platform stat for git cache and add PS1-style prompt#2
craig7351 wants to merge 1 commit into
kcchien:mainfrom
craig7351:fix/cross-platform-stat

Conversation

@craig7351
Copy link
Copy Markdown

  • Fix stat -f %m (macOS-only) crashing on Linux with set -euo pipefail by trying stat -c %Y (Linux) first with macOS fallback
  • Add user@host:path display matching shell PS1 style in line 2

- Fix `stat -f %m` (macOS-only) crashing on Linux with `set -euo pipefail`
  by trying `stat -c %Y` (Linux) first with macOS fallback
- Add user@host:path display matching shell PS1 style in line 2

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant