diff --git a/zsh/utility b/zsh/utility index 2b216a7..8b90f0c 100644 --- a/zsh/utility +++ b/zsh/utility @@ -43,8 +43,8 @@ export RIPGREP_CONFIG_PATH="$HOME/.config/ripgrep/config"; alias erg='EDIT_RIP_GREP_FILE_MATCHES'; EDIT_RIP_GREP_FILE_MATCHES() { [ $EDITOR = "vim" ] \ - && $EDITOR -p $(rg -l $1) \ - || $EDITOR $(rg -l $1) ; + && $EDITOR -p $(rg --color=never -l $1 ) \ + || $EDITOR $(rg --color=never -l $1) ; }