Skip to content

v0.8.1

Choose a tag to compare

@Sahilll15 Sahilll15 released this 24 Aug 11:11
· 21 commits to main since this release

Fixes e with VS Code, Zed, and other GUI editors

v0.8.0 deleted the temp log as soon as the editor command exited. That is right for vim, which blocks until you quit, and wrong for GUI editors: code and zed return as soon as the window has the file (a cold VS Code launch measured about four seconds), so the delete raced the open tab and left it pointing at a file that no longer existed.

The temp file is now left in place, and lazygocd sweeps its own stale files at startup instead.

Set your editor once:

export EDITOR=nvim              # inline, takes over the terminal
export EDITOR="code --wait"     # VS Code; returns to the TUI when you close the tab
export EDITOR=code              # VS Code; returns to the TUI immediately
brew upgrade lazygocd

Full Changelog: v0.8.0...v0.8.1