~ubuntu-branches/ubuntu/precise/nodejs/precise

« back to all changes in this revision

Viewing changes to debian/nodejs-waf.bash-completion

  • Committer: Bazaar Package Importer
  • Author(s): Jérémy Lal
  • Date: 2010-08-20 11:49:04 UTC
  • mfrom: (7.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100820114904-lz22w6fkth7yh179
Tags: 0.2.0-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
have nodejs-waf &&
 
2
_nodejs_waf()
 
3
{
 
4
    cur=${COMP_WORDS[COMP_CWORD]}
 
5
    if [ $COMP_CWORD -ge 1 ]; then
 
6
        COMPREPLY=( $( compgen -W "distclean clean configure build install uninstall" $cur ) )
 
7
    fi
 
8
}
 
9
complete -F _nodejs_waf nodejs-waf