lib/profile quick hack

Thu, 16 Jul 2020 09:44:56 +0200

lib/profile quick hack

Some smaller change that can change your life.

There are reasons why you not run rio in your lib/profile. For me the main reason would be: You can no longer use commandsrcpu-c in your shell. Rio opens and there you are, stuck in front of a gray background.

My solution:

case cpu

# … lots of stuff …

rcpucmd=‘{cat /mnt/term/env/cmd >[2]/dev/null}

if(~ $#rcpucmd 0)


# … lots of stuff …

Now I can rcpu and have my rio, or rcpu -c command and run the command without leaving my shell.