Skip to content

Commit de535e1

Browse files
authored
Merge pull request #22 from flownative/bugfix/pr-18-followup-env-sourcing
Source .env (again) when logging in via SSH
2 parents 3a7d1c2 + e1609f7 commit de535e1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

root-files/home/beach/.bashrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# If this shell was started by SSHD, the environment variables need to be set:
2+
if [[ -z "${FLOWNATIVE_LIB_PATH}" ]]; then
3+
source /home/beach/.env
4+
fi
5+
16
# If not running interactively, skip the banner
27
if [[ -z "$PS1" ]]; then
38
export BANNER_FLOWNATIVE_SKIP="yes"

0 commit comments

Comments
 (0)