Add settings only to existing cmds.

Configure cmds like phpenv, rbenv only if they're actually installed.
Also fix some typos and whitespace.

Review plz @mzb