mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-07-03 05:31:17 +02:00
Silently restoring .zshrc.pre-oh-my-zsh during uninstall could overwrite years of user config with a stale backup from install time, with no warning or recovery path. Fixes #13156, fixes #13328. Changes: - Clarify the timestamped backup message so users know it holds their current config, not a throwaway file - Show the modification date of the pre-OMZ backup before restoring it - Prompt for confirmation before restoring; default is N (no restore) - If user declines, print both file paths so they can merge manually - Cross-platform date: tries macOS `date -r` then GNU `stat -c %Y` Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| changelog.sh | ||
| check_for_upgrade.sh | ||
| install.sh | ||
| require_tool.sh | ||
| theme_chooser.sh | ||
| uninstall.sh | ||
| upgrade.sh | ||