Browse Source

ignore the grep color

chenxin0723 1 year ago
parent
commit
6537f7247c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docsrc/dev.sh

+ 1 - 1
docsrc/dev.sh

@@ -1,5 +1,5 @@
 goModPath(){
-    echo $GOPATH/pkg/mod/$(grep "\t$1" ../go.mod | awk -F ' ' '{print $1"@"$2}')
+    echo $GOPATH/pkg/mod/$(grep --color=never "\t$1" ../go.mod | awk -F ' ' '{print $1"@"$2}')
 }
 
 snippetDirs=(