From 6f496d07b9740db5385a5bd2244f75e8e3f27d69 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Thu, 12 Sep 2024 13:04:07 +0200 Subject: [PATCH] add route regex --- zsh/ripgrep.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/zsh/ripgrep.zsh b/zsh/ripgrep.zsh index 92b6c54..6267894 100644 --- a/zsh/ripgrep.zsh +++ b/zsh/ripgrep.zsh @@ -25,6 +25,7 @@ alias ripgrep_copyright="$RG $RIPGREP_ARGS '(copyright|\u0026copy;|\\(c\\)|©) * alias ripgrep_todo="$RG $RIPGREP_ARGS 'todo|unimplemented|refactor|wip'" alias ripgrep_review="$RG $RIPGREP_ARGS 'review|deprecated'" alias ripgrep_fix="$RG $RIPGREP_ARGS 'fix|fixme'" +alias ripgrep_rocket_routes="$RG $RIPGREP_ARGS '#\\[(\\w+)\\(\"([^\"]*)\"\\)\\]'" code_words='`([^`]+)`' alias ripgrep_code_words="$RG $RIPGREP_ARGS ''$code_words'"