equal
deleted
inserted
replaced
201 |
201 |
202 # builtin completes on builtins |
202 # builtin completes on builtins |
203 complete -b builtin |
203 complete -b builtin |
204 |
204 |
205 _hgsyncew() { |
205 _hgsyncew() { |
206 local curr=${COMP_WORDS[$COMP_CWORD]} |
206 local cur=${COMP_WORDS[$COMP_CWORD]} |
207 COMPREPLY=( $(compgen -W "--push" -- $curr) ) |
207 COMPREPLY=( $(compgen -W "--push" -- $cur) ) |
208 return 0 |
208 return 0 |
209 } |
209 } |
210 complete -F _hgsyncew -o nospace hgsyncew |
210 complete -F _hgsyncew -o nospace hgsyncew |
211 |
211 |
212 _pathsearch() { |
212 _pathsearch() { |