shithub: sirjofri_de

ref: eb07ec1213e2552c1bcf79a9615fc7e646ba82a7
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.