set --nocolor flag to make piping xargs safe
This commit is contained in:
parent
55fca47954
commit
44f678312d
1 changed files with 1 additions and 1 deletions
|
@ -9,4 +9,4 @@ shift
|
|||
replace_with=$1
|
||||
shift
|
||||
|
||||
ag -l $find_this $* | xargs sed -i '' "s/$find_this/$replace_with/g"
|
||||
ag -l --nocolor $find_this $* | xargs sed -i '' "s/$find_this/$replace_with/g"
|
||||
|
|
Loading…
Add table
Reference in a new issue