summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-07-14 00:19:19 -0400
committerJesse Luehrs <doy@tozt.net>2014-07-14 00:59:16 -0400
commita318f6b740c22e58b405dd009675e65b2fb6d188 (patch)
tree399a808cf2ca7a32434dcd95ced3f0298b50301e
parentc624831cf9b8db84fdd4f789eee78d96c3d894b1 (diff)
downloadconf-a318f6b740c22e58b405dd009675e65b2fb6d188.tar.gz
conf-a318f6b740c22e58b405dd009675e65b2fb6d188.zip
ignore node_modules directories in a few places
-rw-r--r--Makefile3
-rw-r--r--agignore1
-rw-r--r--vimrc2
3 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f8c898c..2d83d47 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
INTO = $(HOME)
-INSTALL = aliases \
+INSTALL = agignore \
+ aliases \
bash_logout \
bash_profile \
bashrc \
diff --git a/agignore b/agignore
new file mode 100644
index 0000000..c2658d7
--- /dev/null
+++ b/agignore
@@ -0,0 +1 @@
+node_modules/
diff --git a/vimrc b/vimrc
index baa4521..4899bcd 100644
--- a/vimrc
+++ b/vimrc
@@ -723,7 +723,7 @@ endif
let rec_exclude = '\('
\. '\(^\|/\)\.\|'
\. '\~$\|'
- \. '\<\(blib\|nytprof\|project\|target\)\|'
+ \. '\<\(node_modules\|blib\|nytprof\|project\|target\)\|'
\. '\.\('
\. 'o\|exe\|dll\|bak\|orig\|swp\|bs\|'
\. 'png\|jpg\|gif\|pdf\|doc\|d\|vsprops\|pbxproj\|sln'