Skip to content

Instantly share code, notes, and snippets.

@mingder78
Created September 19, 2014 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mingder78/52c815ded4264afe4943 to your computer and use it in GitHub Desktop.
Save mingder78/52c815ded4264afe4943 to your computer and use it in GitHub Desktop.
check git
# check if git is installed
hash git >/dev/null && /usr/bin/env git clone git://github.com/kaochenlong/eddie-vim.git ~/.vim || {
echo "sorry, git is not installed in this machine."
exit
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment