diff options
author | Ted Pavlic <ted@tedpavlic.com> | 2009-01-15 11:02:22 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-15 09:34:54 -0800 |
commit | 50e126e185c196b9b66dcdefb4b05f090d62dd4c (patch) | |
tree | a32ff197a2b8f56701eeff7c36a306594c6ce0b3 /Documentation/install-doc-quick.sh | |
parent | bash-completion: Support running when set -u is enabled (diff) | |
download | tgif-50e126e185c196b9b66dcdefb4b05f090d62dd4c.tar.xz |
bash-completion: Try bash completions before simple filetype
When a git completion is not found, a bash shell should try bash-type
completions first before going to standard filetype completions. This
patch adds "-o bashdefault" to the completion line. If that option is
not available, it uses the old method.
This behavior was inspired by Mercurial's bash completion script.
Signed-off-by: Ted Pavlic <ted@tedpavlic.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/install-doc-quick.sh')
0 files changed, 0 insertions, 0 deletions