[sf] ~:unrar<TAB> bash: _get_cword: command not found [sf] ~:unrar x<TAB> bash: _get_cword: command not found bash: _filedir: command not found Reproducible: Always Steps to Reproduce:
Works for me, what modules do you have enabled?
I think, unrar: $ eselect bashcomp list Available completions: [1] accerso * [2] adjutrix * [3] apache2ctl [4] base [5] bitkeeper [6] bittorrent [7] brctl [8] cabal-install * [9] cksfv [10] clisp [11] cowsay [12] cpan2dist [13] darcs * [14] dsniff [15] eselect * [16] freeciv [17] gcl [18] genkernel [19] gentoo [20] ghc * [21] git * [22] gkrellm [23] gnatmake [24] gpg2 [25] harbour [26] importare [27] instruo * [28] isql [29] larch [30] layman [31] lilypond [32] lisp * [33] lzma [34] lzop [35] mailman [36] mcrypt [37] minicom [38] modules [39] monodevelop [40] mtx [41] net-tools [42] p4 [43] paludis * [44] povray [45] qdbus [46] qemu [47] qualudis [48] quota-tools [49] rdesktop [50] reconcilio * [51] repoman [52] ri [53] sbcl * [54] sitecopy [55] snownews [56] ssh [57] subversion * [58] _subversion [59] unace [60] unrar * [61] vim * [62] xxd *
The problem should go away if you enable the base module, please try.
Now, when I enable base I get following on every xterm start (sorry for russian locale): bash: /home/slyfox/.bash_completion.d/base: line 157: syntax error in conditional expression: unexpected tok bash: /home/slyfox/.bash_completion.d/base: line 157: ошибка синтаксиса около `@(d' (== syntax error near `@(d') bash: /home/slyfox/.bash_completion.d/base: line 157: ` if [[ $1 == @(declare|typeset) ]]; then' $ bash --version GNU bash, version 4.0.28(2)-release (x86_64-pc-linux-gnu)
Oh, sorry I sourced /etc/profile.d/bash-completion instead of /etc/profile.d/bash-completion.sh in my ~/.bashrc
yea, that changed some time ago. no worries from my side.