robbyrussell/oh-my-zsh — pull request #2743 by docwhat (2014-04-23 13:54:14+00:00)
Title: Trust but verify 'scutil' to return ComputerName

Apparently, it is possible to set up a Mac such that
`scutil --get ComputerName` hasn't been set.

This change checks if that fails and falls back to the original mechanism.