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