mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 06:27:21 +01:00
11 lines
190 B
Plaintext
11 lines
190 B
Plaintext
# Load .env file into shell session for environment variables
|
|
|
|
function envup() {
|
|
if [ -f .env ]; then
|
|
export $(cat .env)
|
|
else
|
|
echo 'No .env file found' 1>&2
|
|
return 1
|
|
fi
|
|
}
|