From bd24d3435684fbd8b5367256845cebbd306d5c2d Mon Sep 17 00:00:00 2001 From: hophacker Date: Wed, 29 Jan 2020 17:18:33 +0800 Subject: [PATCH] ds_setup, ds_rspec, dsidekiq_rspec --- zsh/aliases.zsh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index 2f8dcbd..caefb06 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -216,8 +216,11 @@ alias brewu='brew update && brew upgrade && brew cleanup && brew doctor' # emacs alias emacs="env LC_CTYPE=zh_CN.UTF-8 emacs" +# docker alias ds='dc exec server' -alias drspec='dc exec sidekiq rspec' +alias ds_setup='ds rails db:reset db:seed RAILS_ENV=test' +alias ds_rspec='ds rspec' +alias dsidekiq_rspec='dc exec sidekiq rspec' alias psetup='dc exec sidekiq rake parallel:setup' alias prspec='dc exec sidekiq rake parallel:spec'