From 83b39d935a22f8f41bd8b2ec529af35b284cd668 Mon Sep 17 00:00:00 2001 From: drewmullen Date: Tue, 22 Feb 2022 12:30:53 -0500 Subject: [PATCH] docs: Fix README function `rm_terraform` to not erase .terraform-docs.yaml (#345) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 87a0384..82358c1 100644 --- a/README.md +++ b/README.md @@ -418,7 +418,7 @@ Example: ```bash echo " function rm_terraform { - find . -name ".terraform*" -print0 | xargs -0 rm -r + find . \( -iname ".terraform*" ! -iname ".terraform-docs*" \) -print0 | xargs -0 rm -r } " >>~/.bashrc @@ -540,7 +540,7 @@ Example: ```bash echo " function rm_terraform { - find . -name ".terraform*" -print0 | xargs -0 rm -r + find . \( -iname ".terraform*" ! -iname ".terraform-docs*" \) -print0 | xargs -0 rm -r } " >>~/.bashrc