Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
f94d4e6a
Commit
f94d4e6a
authored
Oct 18, 2016
by
Mason
Committed by
Marc Cornellà
Oct 18, 2016
Browse files
Change from OSX to macOS in README (#5545)
parent
7d8618ec
Changes
1
Show whitespace changes
Inline
Side-by-side
oh-my-zsh.sh
View file @
f94d4e6a
...
@@ -53,7 +53,7 @@ done
...
@@ -53,7 +53,7 @@ done
# Figure out the SHORT hostname
# Figure out the SHORT hostname
if
[[
"
$OSTYPE
"
=
darwin
*
]]
;
then
if
[[
"
$OSTYPE
"
=
darwin
*
]]
;
then
# OS
X
's $HOST changes with dhcp, etc. Use ComputerName if possible.
#
mac
OS's $HOST changes with dhcp, etc. Use ComputerName if possible.
SHORT_HOST
=
$(
scutil
--get
ComputerName 2>/dev/null
)
||
SHORT_HOST
=
${
HOST
/.*/
}
SHORT_HOST
=
$(
scutil
--get
ComputerName 2>/dev/null
)
||
SHORT_HOST
=
${
HOST
/.*/
}
else
else
SHORT_HOST
=
${
HOST
/.*/
}
SHORT_HOST
=
${
HOST
/.*/
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment