chiark
/
gitweb
/
~ian
/
topgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fa8ed5
)
tg-completion: complete options for `tg summary`
author
Kirill Smelkov
<kirr@landau.phys.spbu.ru>
Mon, 5 Jan 2009 15:08:19 +0000
(18:08 +0300)
committer
martin f. krafft
<madduck@debian.org>
Mon, 5 Jan 2009 15:47:32 +0000
(16:47 +0100)
Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
Signed-off-by: martin f. krafft <madduck@debian.org>
contrib/tg-completion.bash
patch
|
blob
|
history
diff --git
a/contrib/tg-completion.bash
b/contrib/tg-completion.bash
index 67f820e8d55068697490ac537f27cede4ba46fd2..4d69c05e26951307a38070bbd0315af60833dbf5 100755
(executable)
--- a/
contrib/tg-completion.bash
+++ b/
contrib/tg-completion.bash
@@
-376,7
+376,15
@@
_tg_remote ()
_tg_summary ()
{
- COMPREPLY=()
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+
+ case "$cur" in
+ *)
+ __tgcomp "
+ --graphviz
+ -t
+ "
+ esac
}
_tg_update ()