We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
urls
1 parent 84c90bd commit fc4bf39Copy full SHA for fc4bf39
.additional_bashrc.sh
@@ -34,10 +34,7 @@ if [ -z "$SSH_AUTH_SOCK" ] ; then
34
fi
35
36
37
-if [ -v VIRTUAL_HOST ] ; then
38
- echo 'Frontend URLs:'
39
- echo $VIRTUAL_HOST | tr "," "\n" | awk '{print " https://" $0}'
40
-fi
+urls
41
42
-# makes it possible to add custom prompt functions without cahnging the entrypoint:
+# makes it possible to add custom prompt functions without changing the entrypoint:
43
test -f ./after-bashrc_*.sh && source ./after-bashrc_*.sh || true
bin/urls
@@ -0,0 +1,8 @@
1
+#!/usr/bin/env bash
2
+
3
+if [ -v VIRTUAL_HOST ] ; then
4
+ echo 'Frontend URLs:'
5
+ echo $VIRTUAL_HOST | tr "," "\n" | awk '{print " https://" $0}'
6
+else
7
+ echo 'no $VIRTUAL_HOST env set'
8
+fi
0 commit comments