From ec0f27c2ce39cce94759056bcd7793bb936c4e91 Mon Sep 17 00:00:00 2001 From: "W. Evan Sheehan" Date: Mon, 22 Sep 2014 12:24:09 -0400 Subject: [PATCH] Increase ulimit and add node_modules to PATH. Increase the maximum number of open file descriptors to 2048 to deal with gulp issues: https://github.com/sindresorhus/gulp-imagemin/issues/10. Prepend node_modules/.bin to PATH for easier use of project-specific node modules. --- bash_profile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bash_profile b/bash_profile index db9b18c..1afb7ff 100644 --- a/bash_profile +++ b/bash_profile @@ -4,6 +4,8 @@ bind "set show-all-if-ambiguous on" alias ls="ls -G" alias ll="ls -laGh" -export PATH=/usr/local/bin:$PATH +export PATH=./node_modules/.bin:/usr/local/bin:$PATH export PS1="\e[92m\h:\e[36m\W \e[92m\$\e[0m " + +ulimit -S -n 2048