Skip to content

Commit

Permalink
fix(issue): syntax error setting linked branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
benelan committed May 17, 2024
1 parent 1aca50f commit 9c484d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gh-fzf
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,7 @@ $global_binds
--bind='alt-o:execute(
printf "Branch name for {1} (leave blank to use the default): ";
read -r branch;
[ -n "$branch" ] && branch_flag="--name $branch";
gh issue develop {1} --checkout "$branch_flag" '"$repo_flag"'
gh issue develop {1} --checkout ${branch:+--name $branch} '"$repo_flag"'
)+abort' \
--bind="alt-c:execute(gh issue comment {1} $repo_flag)+refresh-preview" \
--bind='alt-l:execute(
Expand Down

0 comments on commit 9c484d8

Please sign in to comment.