2 ms·
I admire his CLI approach to things, but this just seems dogmatic: echo -e "\noutput\n.psc*\n.purs*\.spago" >> .gitignore Sure, ok, saying "add these entr
by michaelcampbell 6y ago
I admire his CLI approach to things, but this just seems dogmatic:
echo -e "\noutput\n.psc*\n.purs*\.spago" >> .gitignore
Sure, ok, saying "add these entries to your .gitignore" is too pedestrian?
- e12e 6y agoAt least I'd prefer a simple here-doc: tee -a .gitignore <<'EOF' output .psc* .purs* .spago EOF (or use: cat <<'EOF' >> .gitignore output .psc* .purs* .spago EOF But I think the tee-version more readily emphasize what's going on, and works with sudo).