diff options
author | Marc Cornellà <marc.cornella@live.com> | 2015-10-20 22:47:02 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2015-10-20 22:47:02 +0200 |
commit | 662bdcc8d8f86eb32e5cc7b516261cfeb9a9899a (patch) | |
tree | b4a769de9d61872d7958b525e96aa76e881544ad /tools | |
parent | a7b4c09373759e2db21bd17ca75a162f0fa2e88a (diff) | |
parent | c9d93757e82785a0fd1e0d1222f5d61e01849703 (diff) | |
download | zsh-662bdcc8d8f86eb32e5cc7b516261cfeb9a9899a.tar.gz zsh-662bdcc8d8f86eb32e5cc7b516261cfeb9a9899a.tar.bz2 zsh-662bdcc8d8f86eb32e5cc7b516261cfeb9a9899a.zip |
Merge pull request #4515 from brianloveswords/safer-install-script
Make install script safer
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/install.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/install.sh b/tools/install.sh index 67d341c7c..dd9c4f842 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -1,3 +1,4 @@ +function main() { # Use colors, but only if connected to a terminal, and that terminal # supports them. tput=$(which tput) @@ -117,3 +118,6 @@ echo 'p.p.s. Get stickers and t-shirts at http://shop.planetargon.com.' echo '' printf "${NORMAL}" env zsh +} + +main |