Commit 613bede
fix: handle file overwrite in completion installation
Fix completion installation failing when completion files already exist.
The installCompletionFile method now properly removes existing files
after backup creation, allowing copyItem to succeed.
Fixes issue where `usbipd completion install` would fail with:
- "usbipd" couldn't be copied because an item with the same name already exists
- "_usbipd" couldn't be copied because an item with the same name already exists
- "usbipd.fish" couldn't be copied because an item with the same name already exists
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 0d8cea1 commit 613bede
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
422 | 427 | | |
423 | 428 | | |
424 | 429 | | |
| |||
0 commit comments