shithub: sirjofri_de

ref: 88ab2978b63f3de29994685a168a1606b8b62e28
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:
.IP
.CW
case cpu
.br
   # … lots of stuff …
.br
   rcpucmd=`{cat /mnt/term/env/cmd >[2]/dev/null}
.br
   if(~ $#rcpucmd 0)
.br
      rio
.br
   # … lots of stuff …
.LP
Now I can \fIrcpu\fR and have my rio, or \fIrcpu -c command\fR and run the command without leaving my shell.