summary refs log tree commit diff stats
path: root/zsh
diff options
context:
space:
mode:
authorAlan Pearce2019-03-23 13:27:00 +0100
committerAlan Pearce2019-03-23 13:28:00 +0100
commit332ca22fd7c3011f158d50bc88a6cedc0fe0fa88 (patch)
treeb20827cff952214be927268546d3e07eca9d5fed /zsh
parent605e40ec198bdd85d179170245ebe7ee1d3f2094 (diff)
downloaddotfiles-332ca22fd7c3011f158d50bc88a6cedc0fe0fa88.tar.lz
dotfiles-332ca22fd7c3011f158d50bc88a6cedc0fe0fa88.tar.zst
dotfiles-332ca22fd7c3011f158d50bc88a6cedc0fe0fa88.zip
zsh: Sort pending deployments
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.config/zsh/.zshrc2
1 files changed, 1 insertions, 1 deletions
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"