git-absorb icon indicating copy to clipboard operation
git-absorb copied to clipboard

bash autocomplete

Open NickeZ opened this issue 5 years ago • 1 comments

Hi, thanks for this very nice tool! After installing it with cargo install git-absorb I don't get any bash completions and git absorb --help fails.

To remedy the --help situation I ran did the following:

help2man git-absorb > .local/share/man/man1/git_absorb.1
mandb

Now that I know that -r exists, the autocompletion is not so important anymore...

NickeZ avatar Aug 12 '19 21:08 NickeZ

right so there's two issues here:

  • when you run git absorb --help (with a space between git and absorb), git will try to look up the manpage for git-absorb, which doesn't exist (#2). if you run git-absorb --help (without the space), then you'll actually see git-absorb's existing help output, but right now that doesn't go into a manpage where git would find it. so i have to add that
  • no bash completion. i might be able to wrangle clap into generating this

tummychow avatar Aug 13 '19 02:08 tummychow

Looks like this issue can be closed since #36 was merged. Screenshot_20221116_192442

vimpostor avatar Nov 16 '22 18:11 vimpostor