diff --git a/zsh/functions.zsh b/zsh/functions.zsh index abfe1a6..9504f19 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -165,3 +165,10 @@ function klogs { POD_NAME=`k get pods | grep $TEXT | awk '{print $1}'` kubectl logs -f $POD_NAME } + +function rgm { + args=("${(@s/,/)1}") + regex=${(j:.*\n.*:)args} + echo "Rip Search with $regex..." + rg -U $regex +} diff --git a/zsh/prezto b/zsh/prezto index 7bb7a7c..8d7e3e2 160000 --- a/zsh/prezto +++ b/zsh/prezto @@ -1 +1 @@ -Subproject commit 7bb7a7cb6fe02cce77ad31e91796f84b1a8f1011 +Subproject commit 8d7e3e27c7577175330241f0279a805c471d3bf8