From b22f2c040e328069ffe3d48ad095956999350acd Mon Sep 17 00:00:00 2001 From: JMARyA Date: Sun, 14 Jul 2024 22:43:37 +0200 Subject: [PATCH] add ripgrep_code_words --- zsh/ripgrep.zsh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zsh/ripgrep.zsh b/zsh/ripgrep.zsh index b4c14ba..92b6c54 100644 --- a/zsh/ripgrep.zsh +++ b/zsh/ripgrep.zsh @@ -24,4 +24,7 @@ alias ripgrep_copyright="$RG $RIPGREP_ARGS '(copyright|\u0026copy;|\\(c\\)|©) * # Development 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'" \ No newline at end of file +alias ripgrep_fix="$RG $RIPGREP_ARGS 'fix|fixme'" + +code_words='`([^`]+)`' +alias ripgrep_code_words="$RG $RIPGREP_ARGS ''$code_words'"