adding grunt shortcuts

This commit is contained in:
Nick Nisi
2013-06-30 09:05:55 -05:00
parent d3deaf29c8
commit dccc8569ae
2 changed files with 11 additions and 0 deletions

View File

@@ -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-"$@"
}