1
0
mirror of https://github.com/git/git.git synced 2024-10-22 23:58:22 +02:00
git/contrib/completion
Marc Khouzam 75ed918bda 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>
2012-12-11 21:49:25 -08:00
..
git-completion.bash completion: fix warning for zsh 2012-11-29 08:47:51 -08:00
git-completion.tcsh Add file completion to tcsh git completion. 2012-12-11 21:49:25 -08:00
git-completion.zsh completion: add new zsh completion 2012-11-19 10:56:47 -08:00
git-prompt.sh Merge branch 'maint' 2012-12-11 15:50:10 -08:00