chore: add description

This commit is contained in:
Stefan Imhoff
2023-01-12 19:37:24 +01:00
parent 62534c673b
commit 7892ceca1d

View File

@@ -1,5 +1,4 @@
# Search and preview GitHub pull requests function ghpr --description "Search and preview GitHub pull requests"
function ghpr
set -l GH_FORCE_TTY 100% 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 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 end