mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-11-25 18:03:03 +01:00
Run the cleanup from an EXIT trap and turn INT, TERM and HUP into exits, so closing the terminal or killing the updater mid-update also returns to the previous branch and resets rebase.autoStash. An `always` block would miss `exit` and TERM/HUP, so it isn't used. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>