shithub: x

ref: 70cc21bcb5179d02b5f4d2adf3e5d3b6ce1d0830
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