shithub: sirjofri_de

ref: 5dc13ac9714aa7109cd34c68e8003b29251b02e3
dir: /changeblog/1594885496.ms/

View raw version
.HTML lib/profile quick hack
.TL
lib/profile quick hack
.LP
Some smaller change that can change your life.
.LP
There are reasons why you not run \fIrio\fR in your lib/profile. For me the main reason would be: You can no longer use
.CW "rcpu -c commands"
in your shell. Rio opens and there you are, stuck in front of a gray background.
.LP
My solution:
.P1
case cpu
   # … lots of stuff …
   rcpucmd=`{cat /mnt/term/env/cmd >[2]/dev/null}
   if(~ $#rcpucmd 0)
      rio
   # … lots of stuff …
.P2
.LP
Now I can
.CW rcpu
and have my rio, or
.CW "rcpu -c command"
and run the command without leaving my shell.