Skip to content

Instantly share code, notes, and snippets.

@tomatohammado
Last active July 23, 2019 19:15
Show Gist options
  • Save tomatohammado/cc3ce0143b3a0122e7326ccccc96c450 to your computer and use it in GitHub Desktop.
Save tomatohammado/cc3ce0143b3a0122e7326ccccc96c450 to your computer and use it in GitHub Desktop.
Shell Script to create `.prettierrc` with Markdown settings
#!/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