
I have two laptops, both running Fedora 27. The main difference (from the OS point of view) is how they got to F27: the newer one was a fresh install at that version, whereas the other was upgraded step-by-step from F24. The other difference is the package sets, which vary somewhat - but both have bash, bash-completion, and 'pass'. (Since 'pass' is unsearchable, I'll point -> passwordstore.org - liking it so far.) On the older machine, Bash tab completion of files and subcommands works fine with 'pass'. On the newer machine, completion works for most things like 'dnf' and 'ls' - but not for 'pass'. I've traced this as well as I could: the pass package installs /usr/share/bash-completion/completions/pass . That file should be sourced by /usr/share/bash-completion/bash_completion which is sourced by /etc/profile.d/bash_completion.sh, which is in turn sourced by both /etc/bashrc and /etc/profile. And my eyeball-diff says that all these files are essentially matched on both machines (I opened and examined the relevant clauses in every file named). If I simply source /usr/share/bash-completion/completions/pass in a terminal, 'pass' completion works. So I thought "I'll use ~/.bash_completion to source it!" But here I found another bit of breakage: that file apparently doesn't get sourced (it does on the older machine). I can just throw a line 'source /usr/share/bash-completion/completions/pass' into my own or the system's bashrc, but I'd rather figure out the problem. Any suggestions? -- Giles https://www.gilesorr.com/ gilesorr@gmail.com