shithub: x

ref: 147c0127fb766de457fe12d0b66f23cd17c028cc
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