We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a3de6e commit 8e73642Copy full SHA for 8e73642
1 file changed
.claude/skills/common/remote_exec.sh
@@ -223,10 +223,13 @@ remote_load_cluster() {
223
REMOTE_SLURM_ACCOUNT="$(_parse_yaml_value "$config_file" "clusters.${cluster_name}.slurm.default_account")"
224
REMOTE_SLURM_PARTITION="$(_parse_yaml_value "$config_file" "clusters.${cluster_name}.slurm.default_partition")"
225
226
- # Expand ~ in ssh_key
+ # Expand ~ in paths
227
if [[ "${REMOTE_SSH_KEY:-}" == "~/"* ]]; then
228
REMOTE_SSH_KEY="${HOME}/${REMOTE_SSH_KEY#\~/}"
229
fi
230
+ if [[ "${REMOTE_WORKSPACE:-}" == "~/"* ]]; then
231
+ REMOTE_WORKSPACE="${HOME}/${REMOTE_WORKSPACE#\~/}"
232
+ fi
233
234
# Validate required fields
235
if [[ -z "$REMOTE_HOST" ]]; then
0 commit comments