.bash_completion
changeset 775 9719c267a562
parent 770 7bd2639fafaf
child 885 bfbd7fdc89f8
equal deleted inserted replaced
774:5dfaf39afb2c 775:9719c267a562
    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() {