plan9port/bin/u.rc
2005-03-06 18:06:38 +00:00

11 lines
184 B
Bash
Executable file

#!/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 $*