View previous topic :: View next topic |
Author |
Message |
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Sat Nov 26, 2016 2:24 am Post subject: bash completion install gone astray |
|
|
Trying to get bash completion to work so I can use it in git. But it's not working and I notice this message after I emerge bash-completion:
* Problems with installed bash completions were found:
*
* freebsd-update: does not define any completions (failed to source?).
* kldload: does not define any completions (failed to source?).
* kldunload: does not define any completions (failed to source?).
* mount.linux: incorrect name, no completions for 'mount.linux' command defined.
* pkg_deinstall: does not define any completions (failed to source?).
* pkg_delete: does not define any completions (failed to source?).
* pkg_info: does not define any completions (failed to source?).
* portsnap: does not define any completions (failed to source?).
* umount.linux: incorrect name, no completions for 'umount.linux' command defined.
*
* For more details on installing bash-completions, please see:
* https://wiki.gentoo.org/wiki/Bash/Installing_completion_files
*
ecompressdir: bzip2 -9 /usr/share/doc
ecompressdir: bzip2 -9 /usr/share/man
>>> Installing (1 of 1) app-shells/bash-completion-2.1_p20141224-r1::gentoo
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
localhost vista-ui # eselect bashcomp enable 2 --globally
!!! Warning: 7z is not disabled
!!! Error: --globally doesn't exist
localhost vista-ui # source /etc/profile.d/bash-completion.sh
bash: /etc/profile.d/bash-completion.sh: No such file or directory
localhost vista-ui #
Any ideas? _________________ <h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5> |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31202 Location: here
|
|
Back to top |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Mon Nov 28, 2016 6:39 pm Post subject: |
|
|
Yep, I followed that. There was no `/etc/profile.d/bash-completion.sh` that was installed when I emerged.
In addition:
Code: |
one@localhost ~/github/vista2poc/vista-ppv $ eselect bashcomp enable gentoo
!!! Error: gentoo doesn't exist |
_________________ <h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5> |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31202 Location: here
|
Posted: Mon Nov 28, 2016 8:02 pm Post subject: |
|
|
dman777 wrote: | Yep, I followed that. There was no `/etc/profile.d/bash-completion.sh` that was installed when I emerged. |
wiki wrote: | (The script is located at /etc/bash/bashrc.d/bash_completion.sh in app-shells/bash-completion-2.1_p20141224.) |
dman777 wrote: | In addition: Code: |
one@localhost ~/github/vista2poc/vista-ppv $ eselect bashcomp enable gentoo
!!! Error: gentoo doesn't exist |
|
For enable completion of program
Code: | $ eselect bashcomp enable (the list you want to use) |
You can view list (gentoo doesn't exist but there's emerge) with
Code: | $ eselect bashcomp list |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Wed Dec 07, 2016 3:16 pm Post subject: |
|
|
I believe everything is enabled. The star signifies they are enabled, correct?
Code: |
[1] 2to3 *
[2] 7z *
[3] 7za *
[4] a2x *
[5] abook *
[6] aclocal *
[7] aclocal-1.10 *
[8] aclocal-1.11 *
[9] aclocal-1.12 *
[10] aclocal-1.13 *
[11] acpi *
[12] adb *
[13] add_members *
[14] addpart *
[15] alias *
[16] alpine *
[17] alternatives *
[18] animate *
[19] ant *
[20] apache2ctl *
[21] appdata-validate *
[22] apropos *
[23] apt-build *
[24] apt-cache *
[25] apt-get *
[26] aptitude *
[27] arch *
[28] arm-koji *
[29] arping *
[30] arpspoof *
[31] asciidoc *
[32] asciidoc.py *
[33] aspell *
[34] autoconf *
[35] autoheader *
[36] automake *
[37] automake-1.10 *
[38] automake-1.11 *
[39] automake-1.12 *
[40] automake-1.13 *
[41] autoreconf *
[42] autorpm *
[43] autoscan *
[44] autossh *
[45] autoupdate *
[46] avctrl *
[47] badblocks *
[48] bk *
[49] blkdiscard *
[50] blkid *
[51] blockdev *
[52] brctl *
[53] browser-config *
[54] btdownloadcurses.py *
[55] btdownloadgui.py *
[56] btdownloadheadless.py *
[57] bts *
[58] bzip2 *
[59] c++ *
[60] cal *
[61] cancel *
[62] cardctl *
[63] cc *
[64] ccache *
[65] cdrecord *
[66] cfagent *
[67] cfdisk *
[68] cfrun *
[69] chage *
[70] change_pw *
[71] chcpu *
[72] check_db *
[73] check_perms *
[74] chgrp *
[75] chkconfig *
[76] chown *
[77] chpasswd *
[78] chronyc *
[79] chrpath *
[80] chrt *
[81] ci *
[82] ciptool *
[83] civclient *
[84] civserver *
[85] cksfv *
[86] cleanarch *
[87] clisp *
[88] clone_member *
[89] clzip *
[90] cmake *
[91] co *
[92] col *
[93] colcrt *
[94] colormake *
[95] colrm *
[96] column *
[97] compare *
[98] compgen *
[99] complete *
[100] composite *
[101] config_list *
[102] configure *
[103] conjure *
[104] convert *
[105] cowsay *
[106] cowthink *
[107] cpack *
[108] cpan2dist *
[109] cpio *
[110] cppcheck *
[111] createdb *
[112] crontab *
[113] cryptsetup *
[114] ctest *
[115] ctrlaltdel *
[116] curl *
[117] cvs *
[118] cvsps *
[119] dbus-send *
[120] dcop *
[121] dd *
[122] declare *
[123] delpart *
[124] desktop-file-validate *
[125] dfutool *
[126] dhclient *
[127] dict *
[128] display *
[129] distcc-config *
[130] dmesg *
[131] dnsspoof *
[132] dot *
[133] dpkg *
[134] dpkg-deb *
[135] dpkg-query *
[136] dpkg-reconfigure *
[137] dpkg-source *
[138] dropdb *
[139] dselect *
[140] dsniff *
[141] dumpdb *
[142] dumpe2fs *
[143] e2freefrag *
[144] e2label *
[145] ebuild *
[146] edquota *
[147] eject *
[148] ekeyword *
[149] emerge *
[150] eog *
[151] epkginfo *
[152] epm *
[153] equery *
[154] eselect *
[155] ether-wake *
[156] euse *
[157] evince *
[158] ex *
[159] export *
[160] f77 *
[161] f95 *
[162] faillog *
[163] fallocate *
[164] fbgs *
[165] fbi *
[166] fdisk *
[167] feh *
[168] file *
[169] file-roller *
[170] filebucket *
[171] filefrag *
[172] filesnarf *
[173] find *
[174] find_member *
[175] findmnt *
[176] flake8 *
[177] flock *
[178] freebsd-update *
[179] freeciv-gtk2 *
[180] freeciv-sdl *
[181] freeciv-server *
[182] freeciv-xaw *
[183] fsck *
[184] fsck.cramfs *
[185] fsck.minix *
[186] fsfreeze *
[187] fstrim *
[188] function *
[189] fusermount *
[190] g++ *
[191] g4 *
[192] g77 *
[193] g95 *
[194] gapplication *
[195] gcc *
[196] gcc-config *
[197] gcj *
[198] gcl *
[199] gdb *
[200] gdbus *
[201] genaliases *
[202] gendiff *
[203] genisoimage *
[204] genkernel *
[205] getent *
[206] getopt *
[207] gfortran *
[208] git *
[209] gitk *
[210] gkrellm *
[211] gkrellm2 *
[212] glsa-check *
[213] gmake *
[214] gmplayer *
[215] gnatmake *
[216] gnome-mplayer *
[217] gnumake *
[218] gpasswd *
[219] gpc *
[220] gpg *
[221] gpg2 *
[222] gphoto2 *
[223] gprof *
[224] gresource *
[225] groupadd *
[226] groupdel *
[227] groupmems *
[228] groupmod *
[229] growisofs *
[230] grpck *
[231] grub *
[232] gsettings *
[233] gzip *
[234] hciattach *
[235] hciconfig *
[236] hcitool *
[237] hddtemp *
[238] hexdump *
[239] hid2hci *
[240] host *
[241] hostname *
[242] hping *
[243] hping2 *
[244] hping3 *
[245] htop *
[246] htpasswd *
[247] hwclock *
[248] iconv *
[249] id *
[250] identify *
[251] idn *
[252] iftop *
[253] import *
[254] info *
[255] inject *
[256] insmod *
[257] insmod.static *
[258] interdiff *
[259] invoke-rc.d *
[260] ionice *
[261] ip *
[262] ipcrm *
[263] ipcs *
[264] iperf *
[265] ipmitool *
[266] ipsec *
[267] iptables *
[268] ipv6calc *
[269] iscsiadm *
[270] isosize *
[271] isql *
[272] iwconfig *
[273] iwlist *
[274] iwpriv *
[275] iwspy *
[276] jar *
[277] jarsigner *
[278] java *
[279] java-config *
[280] javac *
[281] javadoc *
[282] javaws *
[283] jpegoptim *
[284] jps *
[285] k3b *
[286] kcov *
[287] kill *
[288] killall *
[289] kldload *
[290] kldunload *
[291] kmod *
[292] koji *
[293] kplayer *
[294] ktutil *
[295] l2ping *
[296] larch *
[297] last *
[298] lastlog *
[299] layman *
[300] lbzip2 *
[301] ldapadd *
[302] ldapcompare *
[303] ldapdelete *
[304] ldapmodify *
[305] ldapmodrdn *
[306] ldappasswd *
[307] ldapsearch *
[308] ldapvi *
[309] ldapwhoami *
[310] ldattach *
[311] lftp *
[312] lftpget *
[313] lilo *
[314] links *
[315] lintian *
[316] lintian-info *
[317] lisp *
[318] list_admins *
[319] list_lists *
[320] list_members *
[321] list_owners *
[322] logger *
[323] look *
[324] losetup *
[325] lpq *
[326] lpr *
[327] lrzip *
[328] lsblk *
[329] lscpu *
[330] lslocks *
[331] lsof *
[332] lua *
[333] luac *
[334] luseradd *
[335] luserdel *
[336] lusermod *
[337] lvchange *
[338] lvcreate *
[339] lvdisplay *
[340] lvextend *
[341] lvm *
[342] lvmdiskscan *
[343] lvreduce *
[344] lvremove *
[345] lvrename *
[346] lvresize *
[347] lvs *
[348] lvscan *
[349] lz4 *
[350] lz4c *
[351] lzip *
[352] lzma *
[353] lzop *
[354] macof *
[355] mailmanctl *
[356] mailsnarf *
[357] make *
[358] man *
[359] mc *
[360] mcookie *
[361] mcrypt *
[362] mdadm *
[363] mdecrypt *
[364] mdtool *
[365] medusa *
[366] mencoder *
[367] metagen *
[368] mii-diag *
[369] mii-tool *
[370] minicom *
[371] mkfs *
[372] mkfs.bfs *
[373] mkfs.cramfs *
[374] mkfs.minix *
[375] mkinitrd *
[376] mkisofs *
[377] mkswap *
[378] mktemp *
[379] mmsitepass *
[380] modinfo *
[381] modprobe *
[382] mogrify *
[383] monodevelop *
[384] montage *
[385] more *
[386] mount *
[387] mount.linux *
[388] mountpoint *
[389] mplayer *
[390] mplayer2 *
[391] mpv *
[392] msgsnarf *
[393] msynctool *
[394] mtx *
[395] munin-node-configure *
[396] munin-run *
[397] munin-update *
[398] munindoc *
[399] mussh *
[400] mutt *
[401] muttng *
[402] mysql *
[403] mysqladmin *
[404] namei *
[405] nc *
[406] ncftp *
[407] nethogs *
[408] newlist *
[409] newusers *
[410] ngrep *
[411] ninja *
[412] nmap *
[413] nsenter *
[414] nslookup *
[415] ntpdate *
[416] openssl *
[417] opera *
[418] optipng *
[419] p4 *
[420] pack200 *
[421] partx *
[422] passwd *
[423] patch *
[424] pbzip2 *
[425] pccardctl *
[426] pdlzip *
[427] perl *
[428] perldoc *
[429] pg *
[430] pgrep *
[431] phing *
[432] pidof *
[433] pigz *
[434] pine *
[435] pinfo *
[436] ping *
[437] ping6 *
[438] pivot_root *
[439] pkg-config *
[440] pkg-get *
[441] pkg_deinstall *
[442] pkg_delete *
[443] pkg_info *
[444] pkgadd *
[445] pkgrm *
[446] pkgutil *
[447] pkill *
[448] plague-client *
[449] plzip *
[450] pm-hibernate *
[451] pm-is-supported *
[452] pm-powersave *
[453] pm-suspend *
[454] pm-suspend-hybrid *
[455] pmake *
[456] pngfix *
[457] portageq *
[458] portinstall *
[459] portsnap *
[460] portupgrade *
[461] postalias *
[462] postcat *
[463] postconf *
[464] postfix *
[465] postmap *
[466] postsuper *
[467] povray *
[468] ppc-koji *
[469] prelink *
[470] prlimit *
[471] protoc *
[472] psql *
[473] puppet *
[474] puppetca *
[475] puppetd *
[476] puppetdoc *
[477] puppetmasterd *
[478] puppetqd *
[479] puppetrun *
[480] pvchange *
[481] pvcreate *
[482] pvdisplay *
[483] pvmove *
[484] pvremove *
[485] pvs *
[486] pvscan *
[487] pwck *
[488] pwd *
[489] pwdx *
[490] pwgen *
[491] pxz *
[492] pydoc *
[493] pydoc3 *
[494] pyflakes *
[495] pygmentize *
[496] pylint *
[497] pypy *
[498] python *
[499] python2 *
[500] python3 *
[501] qdbus *
[502] qemu *
[503] qemu-kvm *
[504] qemu-system-i386 *
[505] qemu-system-x86_64 *
[506] qrunner *
[507] querybts *
[508] quota *
[509] quotacheck *
[510] quotaoff *
[511] quotaon *
[512] ralsh *
[513] raw *
[514] rc *
[515] rc-service *
[516] rc-status *
[517] rc-update *
[518] rcs *
[519] rcsdiff *
[520] rdesktop *
[521] rdict *
[522] readprofile *
[523] remove_members *
[524] rename *
[525] renice *
[526] repoman *
[527] reportbug *
[528] repquota *
[529] reptyr *
[530] resizepart *
[531] resolvconf *
[532] rev *
[533] revdep-rebuild *
[534] rfcomm *
[535] rfkill *
[536] ri *
[537] rlog *
[538] rmlist *
[539] rmmod *
[540] route *
[541] rpcdebug *
[542] rpm *
[543] rpm2targz *
[544] rpm2tgz *
[545] rpm2txz *
[546] rpmbuild *
[547] rpmbuild-md5 *
[548] rpmcheck *
[549] rrdtool *
[550] rsync *
[551] rtcwake *
[552] runuser *
[553] rview *
[554] rvim *
[555] s390-koji *
[556] sbcl *
[557] sbcl-mt *
[558] sbopkg *
[559] scp *
[560] screen *
[561] script *
[562] scriptreplay *
[563] scrot *
[564] sdptool *
[565] setarch *
[566] setquota *
[567] setsid *
[568] setterm *
[569] sfdisk *
[570] sftp *
[571] sh *
[572] sitecopy *
[573] slackpkg *
[574] slapt-get *
[575] slapt-src *
[576] slogin *
[577] smartctl *
[578] smbcacls *
[579] smbclient *
[580] smbcquotas *
[581] smbget *
[582] smbpasswd *
[583] smbtar *
[584] smbtree *
[585] snownews *
[586] sparc-koji *
[587] splat *
[588] spovray *
[589] sqlite3 *
[590] ss *
[591] ssh *
[592] ssh-add *
[593] ssh-copy-id *
[594] ssh-keygen *
[595] sshfs *
[596] sshmitm *
[597] sshow *
[598] strace *
[599] stream *
[600] strings *
[601] sudo *
[602] sudoedit *
[603] svcadm *
[604] svk *
[605] swaplabel *
[606] swapon *
[607] sync_members *
[608] sysbench *
[609] sysctl *
[610] tailf *
[611] tar *
[612] taskset *
[613] tcpdump *
[614] tcpkill *
[615] tcpnice *
[616] tightvncviewer *
[617] timeout *
[618] tracepath *
[619] tracepath6 *
[620] tshark *
[621] tune2fs *
[622] typeset *
[623] ul *
[624] umount *
[625] umount.linux *
[626] unace *
[627] unpack200 *
[628] unrar *
[629] unshare *
[630] unshunt *
[631] update-alternatives *
[632] update-rc.d *
[633] urlsnarf *
[634] useradd *
[635] userdel *
[636] usermod *
[637] utmpdump *
[638] uuidd *
[639] uuidgen *
[640] valgrind *
[641] vgcfgbackup *
[642] vgcfgrestore *
[643] vgchange *
[644] vgck *
[645] vgconvert *
[646] vgcreate *
[647] vgdisplay *
[648] vgexport *
[649] vgextend *
[650] vgimport *
[651] vgmerge *
[652] vgmknodes *
[653] vgreduce *
[654] vgremove *
[655] vgrename *
[656] vgs *
[657] vgscan *
[658] vgsplit *
[659] vi *
[660] view *
[661] vigr *
[662] vim *
[663] vimdiff *
[664] vipw *
[665] vmstat *
[666] vncviewer *
[667] vpnc *
[668] watch *
[669] wdctl *
[670] webapp-config *
[671] webmitm *
[672] wget *
[673] whatis *
[674] whereis *
[675] wine *
[676] wipefs *
[677] withlist *
[678] wodim *
[679] wol *
[680] wsimport *
[681] wtf *
[682] wvdial *
[683] xfreerdp *
[684] xgamma *
[685] xhost *
[686] xm *
[687] xmllint *
[688] xmlwf *
[689] xmms *
[690] xmodmap *
[691] xpovray *
[692] xrandr *
[693] xrdb *
[694] xsltproc *
[695] xvnc4viewer *
[696] xxd *
[697] xz *
[698] xzdec *
[699] ypcat *
[700] ypmatch *
[701] yum-arch *
[702] zopfli *
[703] zramctl *
|
_________________ <h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5> |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31202 Location: here
|
Posted: Wed Dec 07, 2016 3:26 pm Post subject: |
|
|
dman777 wrote: | I believe everything is enabled. The star signifies they are enabled, correct? |
Yep _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Thu Dec 08, 2016 5:32 am Post subject: |
|
|
In that case, there is some breakage because of the issues in my first post and I can't do tab completion with git. Any ideas what is wrong? _________________ <h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5> |
|
Back to top |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Wed Jan 04, 2017 4:00 pm Post subject: |
|
|
bump _________________ <h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5> |
|
Back to top |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Sun Jan 15, 2017 9:43 pm Post subject: |
|
|
I upgraded my bash to p48 r1 and it fixed the issue. _________________ <h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5> |
|
Back to top |
|
|
|