shithub: x

ref: e7d6686b62e20673f79044232844815cf291db7c
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