summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-01-10 06:25:28 -0800
committerXiao Pan <gky44px1999@gmail.com>2024-01-10 06:25:28 -0800
commitfba9c4b337ba53be1332a3adf71536de4afc8c12 (patch)
treea83ccf6feb6badc4659c7f99c8710e0a14edb250
parent4910fb5df26fadcb7e59492c9d865db2f7b7a703 (diff)
no stderr
-rwxr-xr-xgrrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/grrc b/grrc
index 64bd697..ac8effa 100755
--- a/grrc
+++ b/grrc
@@ -9,7 +9,7 @@
"$HOME/archive/programs/car_job/av_dev" \
"$HOME/archive/programs/VisualDimension" \
"$XDG_DOCUMENTS_DIR/notes" \
- -mindepth 1 -maxdepth 1 -type d -name '.git' -o -type f -name 'LICENSE' -o -print0 \
+ -mindepth 1 -maxdepth 1 -type d -name '.git' -o -type f -name 'LICENSE' -o -print0 2>/dev/null \
| xargs -0 grep -s --color=always -iIR "$@" \
"$HOME/.local/bin" \
"$HOME/.bashrc" \