From 3501aa966a7a8c4d9c25a73c6883bcba809f77d5 Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Tue, 4 Aug 2026 13:09:07 -0400 Subject: [PATCH] bin: Add godoc alias to show output in pager --- bin/godoc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 bin/godoc diff --git a/bin/godoc b/bin/godoc new file mode 100755 index 0000000..1f22087 --- /dev/null +++ b/bin/godoc @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -euo pipefail + +go doc "$@" | bat