diff --git a/cli/bin/env-setup b/cli/bin/env-setup index 60e7d13..9f86979 100644 --- a/cli/bin/env-setup +++ b/cli/bin/env-setup @@ -11,3 +11,9 @@ FULL_BIN_PATH=$(python -c "import os; print(os.path.realpath('$BIN_DIR'))") # ensure BIN_DIR is prepended to PATH expr "$PATH" : "${FULL_BIN_PATH}.*" > /dev/null || export PATH=$FULL_BIN_PATH:$PATH +export DCOS_CONFIG=~/.dcos/dcos.toml + +if [ ! -f "$DCOS_CONFIG" ]; then + mkdir -p $(dirname "$DCOS_CONFIG") + touch "$DCOS_CONFIG" +fi