/[global]/global/doc/global.txi
ViewVC logotype

Diff of /global/doc/global.txi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by shigio, Sat Dec 18 12:42:53 2004 UTC revision 1.20 by shigio, Wed Dec 22 08:56:01 2004 UTC
# Line 475  but at least it is useful. Line 475  but at least it is useful.
475    
476  @end example  @end example
477    
478  @item You can use the -c command with tcsh's complete command.  @item You can use the -c command with complete command in shell.
479    
480    In bash:
481    @example
482    
483        $ funcs()
484        > @{
485        >         local cur
486        >         cur=$@{COMP_WORDS[COMP_CWORD]@}
487        >         COMPREPLY=(`global -c $cur`)
488        > @}
489        $ complete -F funcs global
490        $ global kmem_@kbd{TAB}@kbd{TAB}
491        kmem_alloc           kmem_alloc_wait      kmem_init
492        kmem_alloc_nofault   kmem_free            kmem_malloc
493        kmem_alloc_pageable  kmem_free_wakeup     kmem_suballoc
494        $ global kmem_s@kbd{TAB}
495        $ global kmem_suballoc
496        ../vm/vm_kern.c
497    
498    @end example
499    
500    In tcsh:
501  @example  @example
502    
503      % set funcs=(`global -c`)      % set funcs=(`global -c`)

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26