Skip to content

Commit

Permalink
Configure completions for common commands.
Browse files Browse the repository at this point in the history
This tab completion configuration file includes:

- All Git commands without arguments.
- Popular Git commands, with their options and arguments.
- Internal gitsh commands, with their options and arguments.

There are some argument types that we can't currently complete, and others
that are unlikely to ever be practical to complete. To represent those this
commit also introduces a `$anything` variable to the tab completion DSL. The
variable's corresponding `AnythingMatcher` class will match any input, but
produce no completions.

The options and arguments supported in the file are based on the manual
pages from Git 2.13.3. Other versions of Git support slightly different
options and arguments, which means we might complete things that don't work.
  • Loading branch information
georgebrock committed Aug 11, 2017
1 parent 373c68f commit 3e836be
Show file tree
Hide file tree
Showing 5 changed files with 993 additions and 1 deletion.
Loading

0 comments on commit 3e836be

Please sign in to comment.