A small patch release that fixes a compatibility issue with the noclobber shell option. If you had set -o noclobber (or set -C) enabled in bash or zsh, tab completions generated by usage would fail with a "cannot overwrite existing file" error every time the spec cache file already existed. This is now fixed.
Fixed
- Generated bash and zsh completion scripts now use
>|(force-overwrite redirection) instead of>when writing the spec cache file, preventing failures when the shell'snoclobberoption is enabled. Previously, users withnoclobberset would see errors likebash: /tmp/usage__usage_spec_mycli.spec: cannot overwrite existing fileon every tab completion. (#524 by @nkakouros)
New Contributors
- @nkakouros made their first contribution in #524
Full Changelog: v2.18.1...v2.18.2