rc: fix shell-things function