zsh: simplify hostname shortening

by using cut, we avoid the need to call hostname -s constantly, which should
speed up the prompt on slow connections (and fix it on ones with no internet).