adding grunt shortcuts
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
.netrwhist
|
.netrwhist
|
||||||
vim/vim.symlink/bundle/
|
vim/vim.symlink/bundle/
|
||||||
|
npm-debug.log
|
||||||
|
|||||||
@@ -97,3 +97,13 @@ function scpp() {
|
|||||||
echo "http://nicknisi.com/i/$1" | pbcopy;
|
echo "http://nicknisi.com/i/$1" | pbcopy;
|
||||||
echo "Copied to clipboard: http://nicknisi.com/i/$1"
|
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-"$@"
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user