From 7892ceca1d39b64e45cfae0765acd9049c83da67 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Thu, 12 Jan 2023 19:37:24 +0100 Subject: [PATCH] chore: add description --- fish/functions/ghpr.fish | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fish/functions/ghpr.fish b/fish/functions/ghpr.fish index f3f8b78..c227af6 100644 --- a/fish/functions/ghpr.fish +++ b/fish/functions/ghpr.fish @@ -1,5 +1,4 @@ -# Search and preview GitHub pull requests -function ghpr +function ghpr --description "Search and preview GitHub pull requests" set -l GH_FORCE_TTY 100% gh pr list | fzf --ansi --preview 'GH_FORCE_TTY=100% gh pr view {1}' --preview-window down --header-lines 3 | awk '{print $1}' | xargs gh pr checkout end