Add TRITON_DONT_SOURCE_PROFILE variable to disable

auto sourcing triton profile env upon shell startup
This commit is contained in:
jhonas 2022-08-14 22:31:58 +02:00
parent bf7cbcabce
commit c23d2d4eff
Signed by: teutat3s
GPG key ID: 924889A86D0B0FEB

View file

@ -87,8 +87,10 @@ pkgs.devshell.mkShell {
bash = { bash = {
extra = '' extra = ''
if [ -z "$TRITON_DONT_SOURCE_PROFILE" ]; then
source ${self.packages.${system}.triton-docker-env}/bin/triton-docker-env.sh source ${self.packages.${system}.triton-docker-env}/bin/triton-docker-env.sh
source ${self.packages.${system}.triton-utils}/bin/ttp.sh source ${self.packages.${system}.triton-utils}/bin/ttp.sh
fi
if [ "$(uname)" == "Darwin" ]; then if [ "$(uname)" == "Darwin" ]; then
source $DEVSHELL_DIR/share/bash-completion/bash_completion source $DEVSHELL_DIR/share/bash-completion/bash_completion
fi fi