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
Oh My Zsh
Commits
662bdcc8
Commit
662bdcc8
authored
Oct 20, 2015
by
Marc Cornellà
Browse files
Merge pull request #4515 from brianloveswords/safer-install-script
Make install script safer
parents
a7b4c093
c9d93757
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/install.sh
View file @
662bdcc8
function
main
()
{
# Use colors, but only if connected to a terminal, and that terminal
# Use colors, but only if connected to a terminal, and that terminal
# supports them.
# supports them.
tput
=
$(
which tput
)
tput
=
$(
which tput
)
...
@@ -117,3 +118,6 @@ echo 'p.p.s. Get stickers and t-shirts at http://shop.planetargon.com.'
...
@@ -117,3 +118,6 @@ echo 'p.p.s. Get stickers and t-shirts at http://shop.planetargon.com.'
echo
''
echo
''
printf
"
${
NORMAL
}
"
printf
"
${
NORMAL
}
"
env
zsh
env
zsh
}
main
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