.bash_completion
changeset 770 7bd2639fafaf
parent 736 73748dd9a563
child 885 bfbd7fdc89f8
equal deleted inserted replaced
767:66a4b77eb46c 770:7bd2639fafaf
    33 # builtin completes on builtins
    33 # builtin completes on builtins
    34 complete -b builtin
    34 complete -b builtin
    35 
    35 
    36 _hgsyncew() {
    36 _hgsyncew() {
    37   local cur=${COMP_WORDS[COMP_CWORD]}
    37   local cur=${COMP_WORDS[COMP_CWORD]}
    38   COMPREPLY=( $(compgen -W "--push" -- $cur) )
    38   COMPREPLY=( $(compgen -W "--push --modified" -- $cur) )
    39   return 0
    39   return 0
    40 }
    40 }
    41 complete -F _hgsyncew -o nospace hgsyncew
    41 complete -F _hgsyncew -o nospace hgsyncew
    42 
    42 
    43 _pathsearch() {
    43 _pathsearch() {