Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #184228
| From | Dan Ritter <dsr@randomstring.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: [_]debconf-show - custom apt/apt-get tab completion no longer working after upgrade |
| Date | 2017-07-25 18:40 +0200 |
| Message-ID | <u7b2h-59O-7@gated-at.bofh.it> (permalink) |
| References | <u76Fj-2je-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Jul 25, 2017 at 09:37:06PM +1000, Zenaan Harkness wrote: > Upgraded from Debian 8/Jessie to 9/Stretch. > > Use aliases e.g. - these used to be apt-get, have updated to apt, but > in either case, the tab-completions no longer work: > alias agu='sudo apt update' > alias agi='sudo apt install' > > Used to successfully use the following to make these and other > aliases tab-complete: > CUSTOM_APT_COMPLETIONS="agu agi ..." > for i in $CUSTOM_APT_COMPLETIONS; do > #make-completion-wrapper debconf-show $i > complete -F _debconf-show $i > #complete -C debconf-show $i > done > > It seems the function _debconf-show used to exist here: > . /etc/bash_completion > > > This no longer works, because the _debconf-show function is > apparently no longer available, and the command debconf-show doesn't > do the job (package name completion list creation) either. > > Evidently _debconf-show has been replaced with something else. > > Where can I find the apt/apt-get/etc completion wrappers, to know how > to update my aliases/alii ? /usr/share/bash-completion is where they are stored. /etc/bash_completion just invokes them. -dsr-
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
[_]debconf-show - custom apt/apt-get tab completion no longer working after upgrade Zenaan Harkness <zenaan@freedbms.net> - 2017-07-25 14:00 +0200 Re: [_]debconf-show - custom apt/apt-get tab completion no longer working after upgrade Dan Ritter <dsr@randomstring.org> - 2017-07-25 18:40 +0200
csiph-web