2021-07-28 08:53:32 +02:00

12 lines
216 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
command="GITPOD_THEIA_PORT=23000 /ide/bin/code $*"
if [[ "${PWD}" == /workspace* ]]; then
command="cd ${PWD} && ${command}"
fi
ssh -p 23001 gitpod@10.0.2.2 "${command}"