From 481f1e7b0493c100d52eeb7c4dfe522272c3f214 Mon Sep 17 00:00:00 2001 From: Matthew Ryan Dillon Date: Wed, 8 Jan 2025 07:41:44 -0500 Subject: [PATCH] feat: strip jira-style ids utility --- home/dot_zshrc.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/dot_zshrc.tmpl b/home/dot_zshrc.tmpl index fd4b60d..af8810b 100644 --- a/home/dot_zshrc.tmpl +++ b/home/dot_zshrc.tmpl @@ -116,3 +116,5 @@ function _zkhx() { } [ "$TERM" = "xterm-kitty" ] && alias ssh="TERM=xterm ssh" + +alias strip_jira="sed 's/\[\{0,1\}[a-zA-Z]*-[0-9]*\]\{0,1\}//g'"