diff options
author | Cătălin Mariș <alrraa@gmail.com> | 2014-04-15 16:24:04 +0200 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2014-04-15 16:25:26 +0200 |
commit | 80760af90fbfe4519ece48b1858ef06e36fd762b (patch) | |
tree | 423e90b57fec6f0e8f056f99f36def65556abaa2 /.functions | |
parent | 9f0a48300f2fcd450f71318da318e2a8c613f37f (diff) | |
download | dotfiles-80760af90fbfe4519ece48b1858ef06e36fd762b.tar.gz dotfiles-80760af90fbfe4519ece48b1858ef06e36fd762b.tar.bz2 dotfiles-80760af90fbfe4519ece48b1858ef06e36fd762b.zip |
.functions: Make `gi` accept any number of arguments
Closes #367.
Diffstat (limited to '.functions')
-rw-r--r-- | .functions | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -248,8 +248,7 @@ function unquarantine() { # Install Grunt plugins and add them as `devDependencies` to `package.json` # Usage: `gi contrib-watch contrib-uglify zopfli` function gi() { - local IFS=, - eval npm install --save-dev grunt-{"$*"} + npm install --save-dev ${*/#/grunt-} } # `m` with no arguments opens the current directory in TextMate, otherwise |