Skip to content

Allow for set default environment variables on user side #76

@bartoszkosiorek

Description

@bartoszkosiorek

It will be great to allow set the default environment variables on User side.

For example after installing client bootstrap and packages, it would be nice to be able to set defaul environment variables, with command:

source /usr/local/pkg/env.sh

The file will contain default variables, for example:

export PKGSRC_HOME=/usr/local/pkg

export CMAKE_C_COMPILER=${PKGSRC_HOME}/bin/clang
export CMAKE_CXX_COMPILER=${PKGSRC_HOME}/bin/clang++
export PYTHON=${PKGSRC_HOME}/bin/python2.7
export PYTHON3=${PKGSRC_HOME}/bin/python3.7
export JAVA_HOME=${PKGSRC_HOME}/java/adoptopenjdk11-bin

It would simplify the setup process.
Do you know how to implement that?

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