equal
deleted
inserted
replaced
9 COMPREPLY=( $(compgen -W '$_cmds' -- "$cur") ) |
9 COMPREPLY=( $(compgen -W '$_cmds' -- "$cur") ) |
10 return 0 |
10 return 0 |
11 fi |
11 fi |
12 local _cmd=${COMP_WORDS[1]} |
12 local _cmd=${COMP_WORDS[1]} |
13 case "$_cmd" in |
13 case "$_cmd" in |
14 install|remove|download|show|depends|rdepends) |
14 install|remove|download|show|depends|rdepends|listfiles) |
15 COMPREPLY=( $(apt-cyg listall ^"$cur") ) |
15 COMPREPLY=( $(apt-cyg listall ^"$cur") ) |
16 return 0 ;; |
16 return 0 ;; |
17 update|list|listall|category|listfiles|search|searchall|mirror) |
17 update|list|listall|category|search|searchall|mirror) |
18 COMPREPLY=( ) |
18 COMPREPLY=( ) |
19 return 0 ;; |
19 return 0 ;; |
20 cache) |
20 cache) |
21 COMPREPLY=( $(compgen -d -- "$cur") ) |
21 COMPREPLY=( $(compgen -d -- "$cur") ) |
22 return 0 ;; |
22 return 0 ;; |