Only initialize direnv and rbenv if they are installed