Skip to content

Instantly share code, notes, and snippets.

@longseespace
Last active February 14, 2017 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save longseespace/f7f6ea958aacbe81402ac9d7a052ea0e to your computer and use it in GitHub Desktop.
Save longseespace/f7f6ea958aacbe81402ac9d7a052ea0e to your computer and use it in GitHub Desktop.
install eh script
#!/usr/bin/env bash
set -e
if [[ ! -d "${HOME}/.eh" ]]; then
git clone --recursive -j4 git@github.com: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