commit 26d89fbae279798a920ae17558824c57eb258811
parent ff9cf7262b5eb724897f21819fbdc6a94612461e
Author: William Casarin <jb55@jb55.com>
Date: Mon, 26 Apr 2021 15:26:00 -0700
f ghp
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/bin/fuzz-gh-pr-list b/bin/fuzz-gh-pr-list
@@ -0,0 +1,13 @@
+
+#!/usr/bin/env bash
+
+prs() {
+if [ -z "$1" ]; then
+ gh pr list
+else
+ gh pr list --search "$@"
+fi
+}
+
+id=$(prs "$@" | fuzzer | cutt -f1)
+echo gh pr view --comments "$id"
diff --git a/dotfiles/commands b/dotfiles/commands
@@ -34,6 +34,7 @@ tj tag jump fuzz-tag-jump
te todos edit echo edit ~/docs/todo/todo.txt
gb git branches echo git bvr
ghi github issues fuzz-gh-issue-list
+ghp github prf fuzz-gh-pr-list
ni notmuch inbox fuzz-notmuch-inbox
nt notmuch threads fuzz-notmuch-threads
nat notmuch archive fuzz-notmuch-archive