Re: [gentoo-user] bash-completion question(s)
On 02/02/2017 01:19 PM, Neil Bothwick wrote: > On Tue, 31 Jan 2017 12:34:50 -0600, Corbin Bird wrote: > >> The package "sys-boot/grub:2" popped this warning during updates : >> >>> Problems with installed bash completions were found: >>> >>> grub: 'have' command is deprecated and must not be used. >>> grub: incorrect name, no completions for 'grub' command defined. >>> grub-mkconfig: missing alias (symlink) for completed command. >>> grub-mkpasswd-pbkdf2: missing alias (symlink) for completed >>> command. grub-mkrescue: missing alias (symlink) for completed command. >>> grub-reboot: missing alias (symlink) for completed command. >>> grub-editenv: missing alias (symlink) for completed command. >>> grub-set-default: missing alias (symlink) for completed command. >>> grub-mkimage: missing alias (symlink) for completed command. >>> grub-sparc64-setup: missing alias (symlink) for completed command. >>> grub-bios-setup: missing alias (symlink) for completed command. >>> grub-script-check: missing alias (symlink) for completed command. >>> grub-probe: missing alias (symlink) for completed command. >>> grub-mkfont: missing alias (symlink) for completed command. >>> grub-install: missing alias (symlink) for completed command. >> No "grub" entries found at all in "/usr/share/bash-completions". > Did you install it with USE=multislot? That would cause all those > commands to be named grub2-* instead of grub-*, which may confuse the > bash completions. > > The USE flags it was installed with : sys-boot/grub:2 efiemu fonts mount nls sdl themes truetype -debug -device-mapper -doc -multislot -static -test results of "emerge --search grub" > * sys-boot/grub Latest version available: 2.02_beta3-r1 Latest version > installed: 2.02_beta3-r1 Size of files: 7,623 KiB Homepage: > https://www.gnu.org/software/grub/ Description: GNU GRUB boot loader > License: GPL-3 fonts? ( GPL-2-with-font-exception ) themes? ( > BitstreamVera ) * sys-boot/grub-static Latest version available: > 0.97-r12 Latest version installed: [ Not Installed ] Size of files: > 1,145 KiB Homepage: https://www.gnu.org/software/grub/ Description: > GNU GRUB Legacy boot loader (static build) License: GPL-2 -- I did a --unmerge && emerged "app-shells/bash-completion" again. Now I have a 'grub' config file for bash-completions. The following are missing : grub-mkpasswd-pbkdf2 grub-editenv grub-sparc64-setup grub-bios-setup - Should have known. Install order is critical. Everything else first, "bash-completions" last. Thank you for for getting the mental gears moving again.
Re: [gentoo-user] bash-completion question(s)
On Tue, 31 Jan 2017 12:34:50 -0600, Corbin Bird wrote: > The package "sys-boot/grub:2" popped this warning during updates : > > > Problems with installed bash completions were found: > > > > grub: 'have' command is deprecated and must not be used. > > grub: incorrect name, no completions for 'grub' command defined. > > grub-mkconfig: missing alias (symlink) for completed command. > > grub-mkpasswd-pbkdf2: missing alias (symlink) for completed > > command. grub-mkrescue: missing alias (symlink) for completed command. > > grub-reboot: missing alias (symlink) for completed command. > > grub-editenv: missing alias (symlink) for completed command. > > grub-set-default: missing alias (symlink) for completed command. > > grub-mkimage: missing alias (symlink) for completed command. > > grub-sparc64-setup: missing alias (symlink) for completed command. > > grub-bios-setup: missing alias (symlink) for completed command. > > grub-script-check: missing alias (symlink) for completed command. > > grub-probe: missing alias (symlink) for completed command. > > grub-mkfont: missing alias (symlink) for completed command. > > grub-install: missing alias (symlink) for completed command. > > No "grub" entries found at all in "/usr/share/bash-completions". Did you install it with USE=multislot? That would cause all those commands to be named grub2-* instead of grub-*, which may confuse the bash completions. -- Neil Bothwick "Be strict when sending and tolerant when receiving." RFC 1958 - Architectural Principles of the Internet - section 3.9 pgplmKY4zgqBm.pgp Description: OpenPGP digital signature
Re: [gentoo-user] bash-completion question(s)
Corbin Bird wrote: > On 02/02/2017 04:38 AM, Dale wrote: >> Corbin Bird wrote: >>> The package "sys-boot/grub:2" popped this warning during updates : >>> Problems with installed bash completions were found: grub: 'have' command is deprecated and must not be used. grub: incorrect name, no completions for 'grub' command defined. grub-mkconfig: missing alias (symlink) for completed command. grub-mkpasswd-pbkdf2: missing alias (symlink) for completed command. grub-mkrescue: missing alias (symlink) for completed command. grub-reboot: missing alias (symlink) for completed command. grub-editenv: missing alias (symlink) for completed command. grub-set-default: missing alias (symlink) for completed command. grub-mkimage: missing alias (symlink) for completed command. grub-sparc64-setup: missing alias (symlink) for completed command. grub-bios-setup: missing alias (symlink) for completed command. grub-script-check: missing alias (symlink) for completed command. grub-probe: missing alias (symlink) for completed command. grub-mkfont: missing alias (symlink) for completed command. grub-install: missing alias (symlink) for completed command. >>> No "grub" entries found at all in "/usr/share/bash-completions". >>> >>> Is it correct to assume any "bash-completions" are strictly personal >>> choice and NOT technically required? >>> >> I emerged grub here to see if I would get any of those messages. I >> didn't. It merged cleanly as far as I can tell. This is the version I >> have: >> >> sys-boot/grub-2.02_beta3-r1 >> >> As far as your question, the package itself should work with or without >> bash-completion. As far as I know, it only affects using tab to >> complete commands/options. >> >> Dale >> >> :-) :-) >> > > I should have mentioned the package "app-shells/bash-completion" was > installed. My mistake. > > So, I will treat "bash-completions" as optional. > > For your efforts and time, Thank You. > > I sort of figured it was. I didn't get those messages here so I suspect that something isn't normal about what you are getting. I just don't know why that is. The only mention of bash in what is installed here is this: root@fireball / # equery f grub | grep bash /usr/share/bash-completion /usr/share/bash-completion/completions /usr/share/bash-completion/completions/grub root@fireball / # I would think that should be the same here, unless we have different USE flags. There was no mention of it during the emerge process. Either way, grub should work just fine. On another note, I've noticed some bash completions not working that used to. I'm not sure what is up there. Related, don't know. You're welcome. Dale :-) :-)
Re: [gentoo-user] bash-completion question(s)
On 02/02/2017 04:38 AM, Dale wrote: > Corbin Bird wrote: >> The package "sys-boot/grub:2" popped this warning during updates : >> >>> Problems with installed bash completions were found: >>> >>> grub: 'have' command is deprecated and must not be used. >>> grub: incorrect name, no completions for 'grub' command defined. >>> grub-mkconfig: missing alias (symlink) for completed command. >>> grub-mkpasswd-pbkdf2: missing alias (symlink) for completed command. >>> grub-mkrescue: missing alias (symlink) for completed command. >>> grub-reboot: missing alias (symlink) for completed command. >>> grub-editenv: missing alias (symlink) for completed command. >>> grub-set-default: missing alias (symlink) for completed command. >>> grub-mkimage: missing alias (symlink) for completed command. >>> grub-sparc64-setup: missing alias (symlink) for completed command. >>> grub-bios-setup: missing alias (symlink) for completed command. >>> grub-script-check: missing alias (symlink) for completed command. >>> grub-probe: missing alias (symlink) for completed command. >>> grub-mkfont: missing alias (symlink) for completed command. >>> grub-install: missing alias (symlink) for completed command. >> No "grub" entries found at all in "/usr/share/bash-completions". >> >> Is it correct to assume any "bash-completions" are strictly personal >> choice and NOT technically required? >> > I emerged grub here to see if I would get any of those messages. I > didn't. It merged cleanly as far as I can tell. This is the version I > have: > > sys-boot/grub-2.02_beta3-r1 > > As far as your question, the package itself should work with or without > bash-completion. As far as I know, it only affects using tab to > complete commands/options. > > Dale > > :-) :-) > I should have mentioned the package "app-shells/bash-completion" was installed. My mistake. So, I will treat "bash-completions" as optional. For your efforts and time, Thank You.
Re: [gentoo-user] bash-completion question(s)
Corbin Bird wrote: > The package "sys-boot/grub:2" popped this warning during updates : > >> Problems with installed bash completions were found: >> >> grub: 'have' command is deprecated and must not be used. >> grub: incorrect name, no completions for 'grub' command defined. >> grub-mkconfig: missing alias (symlink) for completed command. >> grub-mkpasswd-pbkdf2: missing alias (symlink) for completed command. >> grub-mkrescue: missing alias (symlink) for completed command. >> grub-reboot: missing alias (symlink) for completed command. >> grub-editenv: missing alias (symlink) for completed command. >> grub-set-default: missing alias (symlink) for completed command. >> grub-mkimage: missing alias (symlink) for completed command. >> grub-sparc64-setup: missing alias (symlink) for completed command. >> grub-bios-setup: missing alias (symlink) for completed command. >> grub-script-check: missing alias (symlink) for completed command. >> grub-probe: missing alias (symlink) for completed command. >> grub-mkfont: missing alias (symlink) for completed command. >> grub-install: missing alias (symlink) for completed command. > No "grub" entries found at all in "/usr/share/bash-completions". > > Is it correct to assume any "bash-completions" are strictly personal > choice and NOT technically required? > I emerged grub here to see if I would get any of those messages. I didn't. It merged cleanly as far as I can tell. This is the version I have: sys-boot/grub-2.02_beta3-r1 As far as your question, the package itself should work with or without bash-completion. As far as I know, it only affects using tab to complete commands/options. Dale :-) :-)
[gentoo-user] bash-completion question(s)
The package "sys-boot/grub:2" popped this warning during updates : > Problems with installed bash completions were found: > > grub: 'have' command is deprecated and must not be used. > grub: incorrect name, no completions for 'grub' command defined. > grub-mkconfig: missing alias (symlink) for completed command. > grub-mkpasswd-pbkdf2: missing alias (symlink) for completed command. > grub-mkrescue: missing alias (symlink) for completed command. > grub-reboot: missing alias (symlink) for completed command. > grub-editenv: missing alias (symlink) for completed command. > grub-set-default: missing alias (symlink) for completed command. > grub-mkimage: missing alias (symlink) for completed command. > grub-sparc64-setup: missing alias (symlink) for completed command. > grub-bios-setup: missing alias (symlink) for completed command. > grub-script-check: missing alias (symlink) for completed command. > grub-probe: missing alias (symlink) for completed command. > grub-mkfont: missing alias (symlink) for completed command. > grub-install: missing alias (symlink) for completed command. No "grub" entries found at all in "/usr/share/bash-completions". Is it correct to assume any "bash-completions" are strictly personal choice and NOT technically required?