mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
11 lines
184 B
Bash
Executable file
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 $*
|