about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Completion/Debian/_apt-get2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Debian/_apt-get b/Completion/Debian/_apt-get
index 12ab30bc7..e54bd549b 100644
--- a/Completion/Debian/_apt-get
+++ b/Completion/Debian/_apt-get
@@ -30,7 +30,7 @@ _apt-get_args () {
     compadd "$@" - update upgrade dselect-upgrade dist-upgrade install remove source check clean autoclean help
   else
     case "$words[1]" in
-      install) _deb_packages uninstalled "$@";;
+      install) _deb_packages uninstalled "$@" || _deb_packages installed "$@";;
       remove) _deb_packages installed "$@";;
       *) _deb_packages avail "$@";;
     esac