diff options
author | Alan Pearce | 2019-03-12 14:39:14 +0000 |
---|---|---|
committer | Alan Pearce | 2019-03-12 14:39:14 +0000 |
commit | 296b351b1590700db78d028217ec98f20dc6055e (patch) | |
tree | 7bd15e57394394cf35fbf3bf660decb9fb149e2c /zsh | |
parent | 75cc5cff02179beef8822dc5ef31ac6457659029 (diff) | |
download | dotfiles-296b351b1590700db78d028217ec98f20dc6055e.tar.lz dotfiles-296b351b1590700db78d028217ec98f20dc6055e.tar.zst dotfiles-296b351b1590700db78d028217ec98f20dc6055e.zip |
zsh: Improve pending_deployments alias
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.config/zsh/.zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
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" |