diff options
author | Marc Khouzam <marc.khouzam@ericsson.com> | 2012-12-11 21:36:57 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-12-11 21:49:25 -0800 |
commit | 75ed918bda00a0786bab7de3d220765226fe3f1e (patch) | |
tree | 9296ebd42f14c462ce13b9cc03b753bb1d0b3da3 /contrib/vim | |
parent | Merge branch 'ef/mingw-rmdir' (diff) | |
download | tgif-75ed918bda00a0786bab7de3d220765226fe3f1e.tar.xz |
Add file completion to tcsh git completion.
For bash completion, the option '-o bashdefault' is used to indicate
that when no other choices are available, file completion should be
performed. Since this option is not available in tcsh, no file
completion is ever performed. Therefore, commands like 'git add ',
'git send-email ', etc, require the user to manually type out
the file name. This can be quite annoying.
To improve the user experience we try to simulate file completion
directly in this script (although not perfectly).
The known issues with the file completion simulation are:
- Possible completions are shown with their directory prefix.
- Completions containing shell variables are not handled.
- Completions with ~ as the first character are not handled.
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/vim')
0 files changed, 0 insertions, 0 deletions