Recursive delete of .terraform directory
What
Sometimes your file system can collect a lot of .terraform directories, or something just isn't right with terraform
How
Tip of the day
You can set up a zsh or bash alias for this
Edit ~/.zshrc and add the below
Then run source ~/.zshrc to refresh your current session
Now you can simply type tdel anywhere and it will delete .terraform directories
Read next
Want to make this site better? Open a PR, help fund hosting costs or message me on Matrix