zsh: Sort pending deployments
Alan Pearce alan@alanpearce.eu
Sat, 23 Mar 2019 13:27:00 +0100
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M zsh/.config/zsh/.zshrc → zsh/.config/zsh/.zshrc
@@ -75,7 +75,7 @@ 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"