equal
deleted
inserted
replaced
37 |
37 |
38 _hgsync() { |
38 _hgsync() { |
39 local cur=${COMP_WORDS[COMP_CWORD]} |
39 local cur=${COMP_WORDS[COMP_CWORD]} |
40 case $COMP_CWORD in |
40 case $COMP_CWORD in |
41 0|1) |
41 0|1) |
42 COMPREPLY=( $(compgen -W "local remote pull push info --help" -- $cur) ) |
42 COMPREPLY=( $(compgen -W "local remote pull push info status help --help" -- $cur) ) |
43 compopt +o nospace |
43 compopt +o nospace |
44 return ;; |
44 return ;; |
45 2) |
45 2) |
46 COMPREPLY=( $(compgen -d -S / -- "$cur") ) |
46 COMPREPLY=( $(compgen -d -S / -- "$cur") ) |
47 return ;; |
47 return ;; |