Last active
July 23, 2019 19:15
-
-
Save tomatohammado/cc3ce0143b3a0122e7326ccccc96c450 to your computer and use it in GitHub Desktop.
Shell Script to create `.prettierrc` with Markdown settings
This file contains hidden or 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
#!/bin/bash | |
GREEN='\033[1;32m' | |
YELLOW='\033[1;33m' | |
LCYAN='\033[1;36m' | |
NC='\033[0m' # No Color | |
# Create files | |
echo -e "${YELLOW}Creating ${NC}./.prettierrc" | |
touch ./.prettierrc | |
# Write to file | |
echo '{ | |
"proseWrap": "always" | |
} | |
' >> ./.prettierrc | |
echo -e "${GREEN}Done!${NC}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment