We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6925fbd commit b76b16dCopy full SHA for b76b16d
completions/apt-get
@@ -20,15 +20,15 @@ _apt_get()
20
21
local special i
22
for ((i = 1; i < ${#words[@]} - 1; i++)); do
23
- if [[ ${words[i]} == @(install|remove|autoremove|purge|source|build-dep|download|changelog) ]]; then
+ if [[ ${words[i]} == @(install|remove|auto?(-)remove|purge|source|build-dep|download|changelog) ]]; then
24
special=${words[i]}
25
break
26
fi
27
done
28
29
if [[ -v special ]]; then
30
case $special in
31
- remove | autoremove | purge)
+ remove | auto?(-)remove | purge)
32
_comp_cmd_apt_get_installed_packages
33
;;
34
source)
0 commit comments