aboutsummaryrefslogtreecommitdiff
path: root/bin/9.rc
blob: 354976d31307df35833445e19ef21ff8b59715e9 (plain)
1
2
3
4
5
6
7
8
#!/usr/local/plan9/bin/rc

if(~ $#PLAN9 0)
	PLAN9=/usr/local/plan9
if(! ~ $path(1) $PLAN9/bin)
	path=($PLAN9/bin $path)

! ~ $#* 0 && exec $*