bit icon indicating copy to clipboard operation
bit copied to clipboard

Feature request: more completions!

Open jyn514 opened this issue 5 years ago • 1 comments
trafficstars

Some commands I use often that aren't currently suggested (or need 90% of the typing to be suggested):

  • git rebase -i $(git merge-base HEAD master) - this one is a stretch
  • git rebase -i master - bit will not complete master, you have to type it in yourself
  • git status - for some reason typing st shows pull --rebase origin master before commands starting with st?
  • git show - same bug, shows commands that don't start with sh before show
  • git checkout <branch> -- file - bit will complete up to <branch> but not further
  • git checkout -p; git add -p - bit will not show -p in the initial list. This one is a stretch.
  • git log <branch> - bit will not complete <branch>. It would also be nice to complete file names.
  • git diff --cached - diff needs up to dif to complete and --cached isn't suggested at all
  • git worktree add - bit will complete up to worktree but no further

jyn514 avatar Oct 12 '20 05:10 jyn514

bit 39d807e24c5be4fc081e29623ed09d0dd13d497c will now:

  • searches for suggestions based on prefix except for branches where it will do a "contains" filter
  • shows branches for log & rebase

Future work: git checkout -- file - bit will complete up to but not further git checkout -p; git add -p - bit will not show -p in the initial list. This one is a stretch. git worktree add - bit will complete up to worktree but no further

chriswalz avatar Oct 13 '20 04:10 chriswalz