shithub: sirjofri_de

ref: 0249cd963c090be5fad8d0d4a0c2255a11243ac9
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.