add u and u.rc
This commit is contained in:
parent
c3e471f477
commit
9f827afdb9
2 changed files with 56 additions and 3 deletions
11
bin/u.rc
Executable file
11
bin/u.rc
Executable file
|
|
@ -0,0 +1,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 $*
|
||||
Loading…
Add table
Add a link
Reference in a new issue