From 2c58dddabf0bb6ab56ab1f83528daa766c1b343b Mon Sep 17 00:00:00 2001 From: hophacker Date: Tue, 29 Sep 2020 07:38:44 +0800 Subject: [PATCH] alias for kube --- zsh/aliases.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index e072503..85cbf57 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -216,6 +216,10 @@ alias brewu='brew update && brew upgrade && brew cleanup && brew doctor' # emacs alias emacs="env LC_CTYPE=zh_CN.UTF-8 emacs" +# k8s +alias kpg="kubectl get pods | grep" +alias ksg="kubectl get service | grep" + # rails alias rails_setup='rails db:reset; rails db:seed RAILS_ENV=test' alias rails_test='rspec && rubocop'