This commit is contained in:
Ismail Asci 2014-08-31 17:29:46 +00:00
commit ccbd1b8802

View file

@ -37,13 +37,7 @@ for plugin ($plugins); do
fi fi
done done
# Figure out the SHORT hostname SHORT_HOST=$(hostname -s)
if [ -n "$commands[scutil]" ]; then
# OS X
SHORT_HOST=$(scutil --get ComputerName)
else
SHORT_HOST=${HOST/.*/}
fi
# Save the location of the current completion dump file. # Save the location of the current completion dump file.
if [ -z "$ZSH_COMPDUMP" ]; then if [ -z "$ZSH_COMPDUMP" ]; then