fix(gh): preserve valid completion cache on failure (#14131)

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
This commit is contained in:
Robby RussellandCarlo Sala authored and GitHub committed 2026-12-04 12:58:34 +01:00
1 parent 6527e23542
commit bb9193fa45
2 files changed
+6 -1

No files matched your search

+2
View File
@@ -18,3 +18,5 @@ plugin is loaded, which is usually when you start up a new terminal emulator.
The cache is stored at:
- `$ZSH_CACHE_DIR/completions/_gh` completions script
If an update fails, the last successfully generated completion script is kept.