lincheney / fzf-tab-completion

Tab completion using fzf
GNU General Public License v3.0
623 stars 40 forks source link

github cli, 2 column issue completion #65

Closed brokenricefilms closed 1 year ago

brokenricefilms commented 1 year ago

Screencast from 2023-03-04 14-43-25.webm

OS: EndeavourOS Linux x86_64 SHELL: bash

source | awk '{print $1}' 
lincheney commented 1 year ago

Related: https://github.com/spf13/cobra/issues/1508

lincheney commented 1 year ago

This is fixed in https://github.com/lincheney/fzf-tab-completion/commit/d88bf5b61c3be95be2d917b8bdf5a99a71637645 Unfortunately you will lose the descriptions, but bash completion doesn't actually support descriptions (unlike zsh) and what github cli is doing there is a bit of a hack.