]> Sergey Matveev's repositories - dotfiles.git/blobdiff - go/bin/go-clean
Split huge bin/ to proper subdirectories
[dotfiles.git] / go / bin / go-clean
diff --git a/go/bin/go-clean b/go/bin/go-clean
new file mode 100755 (executable)
index 0000000..cf9047c
--- /dev/null
@@ -0,0 +1,9 @@
+#!/usr/bin/env zsh
+
+setopt NO_NOMATCH
+rm -fr $GOCACHE \
+    /tmp/gopls-* \
+    /tmp/go-build* \
+    /tmp/go.*.*.{mod,sum} \
+    /tmp/gopackages-* \
+    /tmp/*.pch