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'"