all repos — nixfiles @ 296b351b1590700db78d028217ec98f20dc6055e

System and user configuration, managed by nix and home-manager

zsh: Improve pending_deployments alias

Alan Pearce
commit

296b351b1590700db78d028217ec98f20dc6055e

parent

75cc5cff02179beef8822dc5ef31ac6457659029

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M zsh/.config/zsh/.zshrczsh/.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 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"