Use less stepped-on env file location for proj
This commit is contained in:
@@ -21,7 +21,7 @@ proj() {
|
|||||||
cd "$projdir" || return 50
|
cd "$projdir" || return 50
|
||||||
# Run code if we have it
|
# Run code if we have it
|
||||||
# The fun part is this environment file can access some vars about the proj
|
# The fun part is this environment file can access some vars about the proj
|
||||||
local envfile="$projdir/.env"
|
local envfile="$projdir/.project-env"
|
||||||
if [ -r "$envfile" ]; then
|
if [ -r "$envfile" ]; then
|
||||||
. "$envfile"
|
. "$envfile"
|
||||||
echo "Sourced environment file for project"
|
echo "Sourced environment file for project"
|
||||||
|
Reference in New Issue
Block a user