Can we up-factor this, too, either a method that returns an Array or this String? I'd still like to do the `shell-init` thing and it'd be best to keep consistent between the two.