mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Merge d4d768d884 into 686f29f07d
This commit is contained in:
commit
ccbd1b8802
1 changed files with 1 additions and 7 deletions
|
|
@ -37,13 +37,7 @@ for plugin ($plugins); do
|
|||
fi
|
||||
done
|
||||
|
||||
# Figure out the SHORT hostname
|
||||
if [ -n "$commands[scutil]" ]; then
|
||||
# OS X
|
||||
SHORT_HOST=$(scutil --get ComputerName)
|
||||
else
|
||||
SHORT_HOST=${HOST/.*/}
|
||||
fi
|
||||
SHORT_HOST=$(hostname -s)
|
||||
|
||||
# Save the location of the current completion dump file.
|
||||
if [ -z "$ZSH_COMPDUMP" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue