mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-25 11:55:47 -06:00
fix(cli): preserve shell profiles when completion install fails (#117987)
* fix(cli): publish completion profiles atomically Closes #117980 * fix(ci): restore environment variable budget * fix(cli): preserve dangling completion profile symlinks * fix(cli): narrow completion readlink failures
This commit is contained in:
committed by
GitHub
parent
3748fcfd2c
commit
d720d78fee
@@ -40,6 +40,8 @@ The install writes a small `# OpenClaw Completion` block into your shell profile
|
||||
| powershell | `~/.config/powershell/Microsoft.PowerShell_profile.ps1` (on Windows: `Documents/PowerShell/Microsoft.PowerShell_profile.ps1`, or `Documents/WindowsPowerShell/...` for Windows PowerShell) |
|
||||
| zsh | `~/.zshrc` |
|
||||
|
||||
Profile changes are staged beside the destination and atomically replace it only after a complete durable write. A failed install leaves an existing profile unchanged.
|
||||
|
||||
## Notes
|
||||
|
||||
- Without `--install` or `--write-state`, the command prints the script to stdout.
|
||||
|
||||
Reference in New Issue
Block a user