mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
docs: Fix README function rm_terraform to not erase .terraform-docs.yaml (#345)
This commit is contained in:
parent
458fb289a3
commit
83b39d935a
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue