diff options
| -rw-r--r-- | completions/bash/apt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/bash/apt b/completions/bash/apt index 7cf54df1f..0e5d6f808 100644 --- a/completions/bash/apt +++ b/completions/bash/apt @@ -191,7 +191,7 @@ _apt() install) COMPREPLY=( $( apt-cache --no-generate pkgnames "$cur" \ 2> /dev/null ) ) - if [[ "$cur" == ./* || "$cur" == /* ]]; then + if [[ "$cur" == ./* || "$cur" == /* || "$cur" == ~* ]]; then _filedir "deb" fi return 0 |
