ohmyzsh/tools
Sri Harsha Ponukumati 7b6e0d8cbb fix(uninstall): prompt before restoring pre-OMZ zshrc backup
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>
2026-07-02 14:22:20 -07:00
..
changelog.sh fix(changelog): show if there are no changes (#12934) 2025-01-23 20:38:12 +01:00
check_for_upgrade.sh fix(check_for_upgrade): ensure compatibility with screen (#13302) 2025-09-19 15:47:45 +02:00
install.sh chore(install): quote vars and defensive programming (#13840) 2026-06-26 17:07:51 +02:00
require_tool.sh chore(docs): fix some typos (#11211) 2022-10-03 17:03:53 +02:00
theme_chooser.sh fix(theme-chooser): use env in shebang (#12720) 2024-10-03 10:47:33 +02:00
uninstall.sh fix(uninstall): prompt before restoring pre-OMZ zshrc backup 2026-07-02 14:22:20 -07:00
upgrade.sh feat: Update OpenSwag domain references to CommitGoods (#13434) 2025-11-19 17:44:11 -08:00