lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

Feature Request: Direnv support in lazygit

Open nydragon opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

When using lazygit outside of a repository and moving to one via the recent repositories prompt, direnv is not triggered and therefore will not set up all the necessary programs to be able to commit, i.e pre-commit + all tasks inside.

This is a problem when using a nix shell to manage/install development dependencies in tandem with direnv.

Describe the solution you'd like

I'd like direnv to be run after selecting a recent repository.

Describe alternatives you've considered

Moving to the wished repository and opening lazygit there, however this defeats the purpose of the recent repositories prompt.

Additional context

nydragon avatar Jun 12 '24 09:06 nydragon