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.
1 parent 1deecac commit a657349Copy full SHA for a657349
ssh-oci-bastion.sh
@@ -2,7 +2,7 @@
2
set -e
3
set -o pipefail
4
5
-readonly VER=2.1.3
+readonly VER=2.1.4
6
7
# Remove the longest `*/` prefix
8
readonly SCRIPT_NAME_WITH_EXT="${0##*/}"
@@ -88,7 +88,7 @@ while getopts np:o:h OPT; do
88
;;
89
esac
90
done
91
-echo -e "\n# \`$0${*+ }$*\` v$VER: run by \`${USER:-${USERNAME:-${LOGNAME:-UID #$UID}}}@${HOSTNAME}\` in \`${PWD}\` #\n"
+echo -e "\n[$(date +'%T %Z') v$VER] ${USER:-${USERNAME:-${LOGNAME:-UID #$UID}}}@${HOSTNAME} ${PWD}> $0${*+ }$*\n"
92
shift $((OPTIND - 1))
93
94
# Process positional parameters
0 commit comments