FiloSottile / FiloSottile/passage
edit updates file after editor exits with non-zero exit code
Open
- Dominant language
- Shell
- Stars
- 1.2k
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
If you run `passage edit`, modify and write the file in your editor, but then change your mind about keeping the change, there doesn't seem to be any way to prevent passage from updating the record. Using vim, I would expect to be able to abort the edit by exiting with `:cq`.
It looks like a patch was sent in 2023 to correct this in `pass`, but it was never applied: https://lists.zx2c4.com/pipermail/password-store/2023-March/004745.html
Contributor guide
Assessment
This issue has not been assessed yet.