From fdbf0cbe4687c32846764695fabdf4acdb63a62f Mon Sep 17 00:00:00 2001 From: Josh Burns Date: Fri, 28 Feb 2014 01:32:01 +1100 Subject: [PATCH] gem push alias and gem yank alias --- plugins/gem/gem.plugin.zsh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/gem/gem.plugin.zsh b/plugins/gem/gem.plugin.zsh index ca290035..938f5c99 100644 --- a/plugins/gem/gem.plugin.zsh +++ b/plugins/gem/gem.plugin.zsh @@ -1,2 +1,7 @@ alias gemb="gem build *.gemspec" -alias gemp="gem push *.gem" \ No newline at end of file +alias gemp="gem push *.gem" + +# gemy GEM 0.0.0 = gem yank GEM -v 0.0.0 +function gemy { + gem yank $1 -v $2 +} \ No newline at end of file