Skip to content

Investigate universal use of direnv for devcontainers #40

@thclark

Description

@thclark

Feature request

In the windquest-infrastructure devcontainer @nvn-nil added:

RUN apt-get update && apt-get install -y \
    direnv \
    && rm -rf /var/lib/apt/lists/*

RUN echo 'eval "$(direnv hook bash)"' >> ~/.bashrc
RUN echo 'eval "$(direnv hook bash)"' >> ~/.bash_profile

Perhaps if this is beneficial we should make it a stock feature? It would have to be wired to zsh in order to work with our default devcontainer terminal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions