rc: use register_shell