feat: a running lazysecrets says when a newer one was installed over it
CI / Checks (pull_request) Successful in 41s
PR title / Conventional title (pull_request) Successful in 1s

Every minute it looks whether its binary was replaced, from anywhere
(install.sh, go install, another lazysecrets): a stat, and the new
binary's --version when it changed. It shows → vX (restart), as after
U, so a long-running one (lazysecrets.nvim's) doesn't run an old
version unnoticed.
This commit is contained in:
keb committed 2026-10-19 21:30:18 +02:00
1 parent d0a8b1390d
commit d22e6fd7ac
7 files changed
+164 -1

No files matched your search

+5
View File
@@ -154,3 +154,8 @@ lazysecrets that's running keeps working, and the next start is the new
version. A binary a package manager owns (Homebrew, Nix, a distro
package) is left to it. Development builds (`dev-…`) aren't offered
releases.
A lazysecrets that keeps running, like the one lazysecrets.nvim hides,
looks every minute whether a newer one was installed over it, from
anywhere (`install.sh`, `go install`, another lazysecrets), and says so
in the status pane, `→ v0.3.1 (restart)`, until you restart it.