Last active
March 14, 2017 22:29
-
-
Save papachan/50dd79b1fd010dc09b7f97dfac534a1b to your computer and use it in GitHub Desktop.
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/zsh | |
# A simple script to curl a gitignore file to your git init | |
printf "Which language?\n:" | |
read in | |
git init | |
lang=`echo $in | sed -e 's/\b\(.\)/\u\1/g'` | |
curl "https://raw.githubusercontent.com/github/gitignore/master/$noo.gitignore" > .gitignore | |
find . | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment