Last active
February 14, 2017 10:57
-
-
Save longseespace/f7f6ea958aacbe81402ac9d7a052ea0e to your computer and use it in GitHub Desktop.
install eh script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
if [[ ! -d "${HOME}/.eh" ]]; then | |
git clone --recursive -j4 [email protected]:Thinkei/dev-env.git ${HOME}/.eh | |
else | |
(cd ${HOME}/.eh && git fetch --all && git reset --hard origin/master) | |
fi | |
ln -sf ${HOME}/.eh/eh.sh /usr/local/bin/eh | |
echo | |
echo "eh script has been installed at /usr/local/bin/" | |
echo | |
echo "for instruction, go to https://github.com/Thinkei/dev-env" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment