summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--completions/bash/apt2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/bash/apt b/completions/bash/apt
index 61101d839..90b4ef20c 100644
--- a/completions/bash/apt
+++ b/completions/bash/apt
@@ -189,7 +189,7 @@ _apt()
return 0
;;
install)
- if [[ "$cur" == ./* || "$cur" == /* || "$cur" == ~* ]]; then
+ if [[ "$cur" == .* || "$cur" == /* || "$cur" == ~* ]]; then
_filedir "deb"
else
COMPREPLY=( $( apt-cache --no-generate pkgnames "$cur" \