summary refs log tree commit diff stats
path: root/zsh
diff options
context:
space:
mode:
authorAlan Pearce2019-03-12 14:39:14 +0000
committerAlan Pearce2019-03-12 14:39:14 +0000
commit296b351b1590700db78d028217ec98f20dc6055e (patch)
tree7bd15e57394394cf35fbf3bf660decb9fb149e2c /zsh
parent75cc5cff02179beef8822dc5ef31ac6457659029 (diff)
downloadnixfiles-296b351b1590700db78d028217ec98f20dc6055e.tar.lz
nixfiles-296b351b1590700db78d028217ec98f20dc6055e.tar.zst
nixfiles-296b351b1590700db78d028217ec98f20dc6055e.zip
zsh: Improve pending_deployments alias
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 c2e5c0bf..fc64c82a 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"