FiloSottile / FiloSottile/passage

edit updates file after editor exits with non-zero exit code

Open
#58 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.