Skip to content

Feature Request: Direnv support in lazygit #3653

@nydragon

Description

@nydragon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions