Skip to content

Commit 837a6bb

Browse files
authored
Merge pull request #53 from cron-eu/neos-base-uri
Also show NEOS_BASE_URI in ssh prompt
2 parents 7d81ead + 4501070 commit 837a6bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/ssh/home/application/.bash_profile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export HISTSIZE=10000
66

77
if [[ $- == *i* ]]; then
88
# Interative shell, print out some information
9-
URL=$(env | egrep "BASE_?URL" | head -1 | cut -f 2 -d "=")
9+
URL=$(env | egrep "^(NEOS_)?BASE_?UR[LI]" | head -1 | cut -f 2 -d "=")
1010
test ! -z "$ENV" && figlet "$ENV" && printf "\n"
1111
test ! -z "$ENV" && printf "%15s: %s\n" "ENV" "$ENV"
1212
test ! -z "$AWS_LOG_GROUP" && printf "%15s: %s\n" "AWS_LOG_GROUP" "$AWS_LOG_GROUP"

0 commit comments

Comments
 (0)