Skip to content

Commit

Permalink
fix duplication with ghpr
Browse files Browse the repository at this point in the history
  • Loading branch information
edheltzel committed Feb 6, 2024
1 parent 7ba0c90 commit 1f2b5c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fish/.config/fish/functions/_aliases.fish
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ end
# Git and Repositiory shortcuts

# Github PR checkout with search and preview
function ghpr
function ghprcheck
set_color red
if test (command -v git); and git rev-parse --is-inside-work-tree >/dev/null 2>&1
GH_FORCE_TTY=100% gh pr list | fzf --ansi --preview 'GH_FORCE_TTY=100% gh issue view {1}' --preview-window down --header-lines 3 | awk '{print $1}' | xargs gh pr checkout
Expand Down

0 comments on commit 1f2b5c5

Please sign in to comment.