From 332ca22fd7c3011f158d50bc88a6cedc0fe0fa88 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 23 Mar 2019 13:27:00 +0100 Subject: zsh: Sort pending deployments --- 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 fc64c82..0f7b014 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 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 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]' | sort | uniq | awk '{ printf \"https://satoshipay.atlassian.net/browse/%s\n\", \$0 }'" alias ava="npx ava" alias avats="npx ava-ts" -- cgit 1.4.1