mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
12 lines
216 B
Bash
Executable File
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}"
|