Hello World,
I have written a very, very simple bash completion script for hgtk
(attached). It just completes the hgtk commands, but has no support for
options.
I thought someone may like it...
Best regards
Andreas
--
("`-''-/").___..--''"`-._
`o_ o ) `-. ( ).`-.__.`)
(_Y_.)' ._ ) `._ `. ``-..-'
_..`--'_..-_/ /--'_.' .'
(il).-'' (li).' ((!.-'
Andreas Tscharner [email protected] ICQ-No. 14356454
_hgtk()
{
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="about add annotate archive blame checkout clone commit datamine
diff filter email forget grep guess hgignore history ignore init incoming log
merge outgoing pull push recovery remove rename repoconfig revert rollback
serve shelve status strip synch unshelve update userconfig vdiff verify version"
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
}
complete -F _hgtk hgtk
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop