Skip to content

Commit

Permalink
perf(vedv): add a validation to do not load home config twice
Browse files Browse the repository at this point in the history
  • Loading branch information
yunielrc committed Sep 9, 2023
1 parent 5f1e23d commit 3e0a99c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

## About

A tool for developing applications in a secure and reproducible environment with virtual machines using a Docker-like workflow.
A tool for developing applications in a secure and reproducible environment with virtual machines, using a Docker-like workflow.

### 👉 THIS IS A WORK IN PROGRESS

Expand Down
2 changes: 1 addition & 1 deletion dist/usr/bin/vedv
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ readonly __UA='User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (K
# LOAD CONFIG
if [[ -f "$__VEDV_CONFIG" ]]; then source "$__VEDV_CONFIG"; fi
if [[ -f ~/.vedv.env ]]; then source ~/.vedv.env; fi
if [[ -f .vedv.env ]]; then source .vedv.env; fi
if [[ "$PWD" != "$HOME" && -f .vedv.env ]]; then source .vedv.env; fi

# ENVIRONMENT
# scheme: VAR="${ENVIRONMENT_VAR:-"${CONFIG_VAR:-default}"}"
Expand Down

0 comments on commit 3e0a99c

Please sign in to comment.