Package: dupload
Version: 2.11.2
Severity: normal

I use dupload from bash.  The dupload bash tab completion doesn't behave
as expected.  In the terminal transcript below, <TAB> indicates that
i've pressed the tab button

```
0 dkg@bob:/tmp/cdtemp.jhxXbG$ find
.
./build
./build/bar_1.2.3-1_source.changes
./build/bar_1.2.3.orig.tar.gz
./build/bar_1.2.3-1.dsc
./build/bar_1.2.3-1.debian.tar.xz
./foo
0 dkg@bob:/tmp/cdtemp.jhxXbG$ dupload bui<TAB><TAB>
build  foo    
0 dkg@bob:/tmp/cdtemp.jhxXbG$ dupload build/<TAB><TAB>
build                             build/bar_1.2.3-1_source.changes  foo         
                      
0 dkg@bob:/tmp/cdtemp.jhxXbG$ dupload build/
```

In the first case (starting from "bui"), i would have expected the first
TAB to have autocompleted "build/".  instead it didn't give me anything,
and on a second TAB, it prompted with two options, one of which doesn't
even start with "bui".

In the second case (starting from "build/"), i would have expected the
tab completion to have just filled in
"build/bar_1.2.3-1_source.changes", rather than giving me these other
options as well.

Thanks for maintaining dupload!

        --dkg


-- System Information:
Debian Release: trixie/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (200, 
'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.11.5-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dupload depends on:
ii  libdpkg-perl  1.22.11
ii  perl          5.40.0-7

Versions of packages dupload recommends:
ii  libio-socket-ssl-perl  2.089-1
ii  liburi-perl            5.30-1
ii  libyaml-libyaml-perl   0.902.0+ds-2+b1
ii  openssh-client         1:9.9p1-3+dkg1

Versions of packages dupload suggests:
ii  libsecret-tools                 0.21.4-3
ii  lintian                         2.120.0
ii  postfix [mail-transport-agent]  3.9.0-3

-- no debconf information

Attachment: signature.asc
Description: PGP signature

Reply via email to