Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101898 - eselect doesn't show "gentoo" completion
Summary: eselect doesn't show "gentoo" completion
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-08-09 13:50 UTC by fctk86
Modified: 2005-10-19 05:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fctk86 2005-08-09 13:50:32 UTC
after a fresh install, eselect bashcomp list doesn't show gentoo completion
despite the fact it is globally enabled.

Reproducible: Always
Steps to Reproduce:
1. rm -rf /etc/.bash_completion*
2. rm -rf /root/.bash_completion*
3. emerge bash-completion eselect
4. add the required line into /root/.bashrc
5. source ~/.bashrc
6. eselect bashcomp list
Actual Results:  
thorium fctk # eselect bashcomp list
Available completions:
  [1]   bitkeeper
  [2]   bittorrent
  [3]   cksfv
  [4]   clisp
  [5]   dsniff
  [6]   eselect
  [7]   freeciv
  [8]   gcl
  [9]   gentoo
  [10]  gkrellm
  [11]  gnatmake
  [12]  harbour
  [13]  isql
  [14]  larch
  [15]  lilypond
  [16]  lisp
  [17]  mailman
  [18]  mcrypt
  [19]  modules
  [20]  mtx
  [21]  p4
  [22]  povray
  [23]  ri
  [24]  sbcl
  [25]  sitecopy
  [26]  snownews
  [27]  unace
  [28]  unrar

but:

thorium fctk # ls -l /etc/bash_completion.d/
totale 0
lrwxrwxrwx  1 root root 38  9 ago 22:38 gentoo ->
../../usr/share/bash-completion/gentoo

Expected Results:  
thorium fctk # eselect bashcomp list
Available completions:
  [1]   bitkeeper
  [2]   bittorrent
  [3]   cksfv
  [4]   clisp
  [5]   dsniff
  [6]   eselect
  [7]   freeciv
  [8]   gcl
  [9]   gentoo *
  [10]  gkrellm
  [11]  gnatmake
  [12]  harbour
  [13]  isql
  [14]  larch
  [15]  lilypond
  [16]  lisp
  [17]  mailman
  [18]  mcrypt
  [19]  modules
  [20]  mtx
  [21]  p4
  [22]  povray
  [23]  ri
  [24]  sbcl
  [25]  sitecopy
  [26]  snownews
  [27]  unace
  [28]  unrar

thorium fctk # emerge -pv bash-completion eselect

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-shells/bash-completion-20050721  0 kB 
[ebuild   R   ] app-admin/eselect-0.9.6  +bash-completion -doc 0 kB
Comment 1 antoine marmignon 2005-09-27 17:16:42 UTC
It seems that eselect does not deal with globally enabled completions living in
/etc/bash-completion.d.
Comment 2 Aaron Walker (RETIRED) gentoo-dev 2005-10-17 04:30:36 UTC
Ugh sorry for the belated response.  Somehow I missed this bug.

$ eselect bashcomp list --global

There's probably no way you would have known about this, as I forgot to add
--global to the bashcomp.eselect manual page when I added that option.

eselect-1.0_rc1 will be out very soon, and will have much better documentation
when it comes to module action sub-options (options like that are now shown when
you run a module's 'help' or 'usage' action).

Going to leave this open and just mark InSVN as really this is a missing
documentation bug rather than a code bug.  Will close once 1.0_rc1 is out.
Comment 3 Aaron Walker (RETIRED) gentoo-dev 2005-10-19 05:43:32 UTC
1.0_rc1 is in cvs.  Please test and reopen if necessary.