diff --git a/.gitignore b/.gitignore index b0cb1fe..e0ac49b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .netrwhist vim/vim.symlink/bundle/ +npm-debug.log diff --git a/zsh/functions.zsh b/zsh/functions.zsh index ccac997..345f1dd 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -97,3 +97,13 @@ function scpp() { echo "http://nicknisi.com/i/$1" | pbcopy; echo "Copied to clipboard: http://nicknisi.com/i/$1" } + +# install a grunt plugin and save to devDependencies +function gi() { + npm install --save-dev grunt-"$@" +} + +# install a grunt-contrib plugin and save to devDependencies +function gci() { + npm install --save-dev grunt-contrib-"$@" +}