# vim: set foldmethod=marker foldmarker={{{,}}}: #!/usr/bin/env bash # shellcheck disable=SC1091 source "$HOME/dev/binx/profile/sane_fn.sh" PROJ_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" export PROJ_DIR Green "-M- exporting PROJ_DIR: $PROJ_DIR" ############### Python ############### # Emulate the pipenvs's activate, because we can't source things in direnv #layout_pipenv #layout_poetry #dotenv export PYTHONPATH=$PROJ_DIR export PIPENV_VENV_IN_PROJECT=1 # creates .venv #export POETRY_VIRTUALENVS_IN_PROJECT=1 # creates .venv if which tmux > /dev/null 2>&1; then tmux rename-window "$(basename "$PROJ_DIR")" fi ############### Exports ############### export RUN_ENV=local export senv="source $PROJ_DIR/scripts/env.sh" #export TW_FZF_ROOT="$HOME/dev" export TERRAFORM_PROMPT=0 ############### Java ############### #export MAVEN_PROFILE=bmw #export JAVA_HOME="$HOME/.asdf/installs/java/openjdk-20" #PATH_add $JAVA_HOME/bin ############### BMW ############### #export GH_HOST=atc-github.azure.cloud.bmw #dotenv ~/dev/s/private/sec-sops/bmw.env PATH_add $PROJ_DIR/scripts ### unset for PyPi #unset TWINE_USERNAME #unset TWINE_PASSWORD # Default export, valid for all environments export VAR_1=var_1 export VAR_2=var_2 export VAR_3=var_3 export VAR_4=var_4 export VAR_5=var_5 #------------------------------- confguard start -------------------------------- # config.relative = true # config.version = 2 # state.sentinel = 'rs-sops-20ae57f0' # state.timestamp = '2023-07-29T13:07:30.006Z' # state.sourceDir = '$HOME/dev/s/private/rs-sops' export SOPS_PATH=$HOME/dev/s/private/sec-sops/confguard/rs-sops-20ae57f0 dotenv $SOPS_PATH/environments/local.env #-------------------------------- confguard end ---------------------------------