From 296b351b1590700db78d028217ec98f20dc6055e Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 12 Mar 2019 14:39:14 +0000 Subject: zsh: Improve pending_deployments alias --- zsh/.config/zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index c2e5c0b..fc64c82 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -75,7 +75,7 @@ alias llr="ll -t" alias https="http --default-scheme https" alias kns="kubens" alias kx="kubectx" -alias pending_deployments="GIT_DIR=$(ghq list -p core/kubernetes)/.git git lg production...staging --grep=CORE --grep=INFRA" +alias pending_deployments="GIT_DIR=$(ghq list -p core/kubernetes)/.git git log production...staging --grep=CORE --grep=INFRA --regexp-ignore-case --pretty=format:%s | rg --ignore-case --only-matching '((?:CORE|INFRA)-\d+)' | tr '[a-z]' '[A-Z]' | awk '{ printf \"https://satoshipay.atlassian.net/browse/%s\n\", \$0 }'" alias ava="npx ava" alias avats="npx ava-ts" -- cgit 1.4.1