Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git <tab> only completes to --help #3087

Closed
mineo opened this issue May 29, 2016 · 1 comment
Closed

git <tab> only completes to --help #3087

mineo opened this issue May 29, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@mineo
Copy link
Contributor

@mineo mineo commented May 29, 2016

Reproduction Steps:

  1. rm -rf ~/.config/fish; rm -rf ~/.local/share/fish
  2. fish
  3. git --<tab>

Expected behavior:

All of the options to git should be suggested:

git --help
usage: git [--version] [--help] [-C <path>] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p | --paginate | --no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]

Observed behavior:

Autocompletion to --help

Additional information:

fish_update_completions doesn't help.


Fish version: 2.3.0

Operating system: Arch Linux

Terminal or terminal emulator: urxvt

@faho
Copy link
Member

@faho faho commented May 29, 2016

Yes, the git completions are partly incomplete (and they are always going to be, because git is massive).

fish_update_completions doesn't help.

That's expected, because the git completions are hand-written. I don't think it's possible to write a man page parser that generates completions to this level.

@faho faho self-assigned this May 29, 2016
@faho faho closed this in 2871096 May 29, 2016
@zanchey zanchey added this to the next-2.x milestone Jul 3, 2016
@floam floam added the bug label Aug 3, 2016
@faho faho modified the milestones: fish 2.4.0, next-2.x Sep 4, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.