Subject: reportbug: doas does not autocomplete apt commands
Package: doas
Version: 6.8.1-2
Severity: wishlist
Dear Maintainer,
* What led up to the situation?
Trying to use autocomplete for apt with doas
* What exactly did you do (or not do) that was effective (or
ineffective)?
doas ap TAB
doas apt upd TAB
* What was the outcome of this action?
both attempts do nothing
* What outcome did you expect instead?
I expected tab completion to complete my commands to apt and to apt update
Completion works fine with paths, not with apt though.
With FreeBSD you add 'complete -cf doas' to ~/.bashrc, but that does not
work with Debian.
-- System Information:
Debian Release: bullseye/sid
APT prefers buildd-unstable
APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.17-towo.1-siduction-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages doas depends on:
ii libc6 2.31-9
ii libpam0g 1.4.0-6
doas recommends no packages.
doas suggests no packages.
-- no debconf information