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

if(~ $#PLAN9 1) opath=$path i=() {
	path=()
	for(i in $opath){
		if(! ~ $i $PLAN9/bin)
			path=($path $i)
	}
	path=($path $PLAN9/bin)
}
! ~ $#* 0 && exec $*