shithub: x

ref: 6000627a39a84a28590b12a1cbc5f56272664f95
dir: /run/

View raw version
#!/bin/rc
rfork e
rpath=`{x/path -P}
cmd=`{awk 'BEGIN{
	printf("$SHELL -c ''cd %s; %s''",
		ENVIRON["rpath"], ENVIRON["*"])
}'}
ssh `{x/path -l} $"cmd