shithub: x

ref: 79c6404377c27bdd84d5743020cdf17d9696e1d0
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