--- a/bin/gotags
+++ b/bin/gotags
@@ -2,9 +2,9 @@
set -eu
. ~/.lib/sh/stubexec.sh
-stubexec "$@"
-
-go install github.com/jstemmer/gotags@latest
-asdf reshim || :
+install_it() {
+ go install github.com/jstemmer/gotags@latest
+ asdf reshim || :
+}
stubexec "$@"