bash completion not working

Just did an update and this is new behavior. No changes to my .bashrc stuff. I have Googled around and tried all the suggestions I’ve found and even tried sourcing /etc/profile.d/bash_completion.sh [FONT=arial]
to no avail. Is it only me? Any suggestions?

[/FONT]$ shopt
autocd          off
cdable_vars     off
cdspell         off
checkhash       off
checkjobs       off
checkwinsize    on
cmdhist         on
compat31        off
compat32        off
compat40        off
compat41        off
compat42        off
compat43        off
complete_fullquote      on
direxpand       off
dirspell        off
dotglob         off
execfail        off
expand_aliases  on
extdebug        off
extglob         on
extquote        on
failglob        off
force_fignore   on
globasciiranges off
globstar        on
gnu_errfmt      off
histappend      on
histreedit      off
histverify      off
hostcomplete    off
huponexit       off
inherit_errexit off
interactive_comments    on
lastpipe        off
lithist         off
login_shell     off
mailwarn        off
no_empty_cmd_completion off
nocaseglob      off
nocasematch     off
nullglob        off
progcomp        on
promptvars      on
restricted_shell        off
shift_verbose   off
sourcepath      on
xpg_echo        off
$ set -o
allexport       off
braceexpand     on
emacs           on
errexit         off
errtrace        off
functrace       off
hashall         on
histexpand      on
history         on
ignoreeof       off
interactive-comments    on
keyword         off
monitor         on
noclobber       off
noexec          off
noglob          off
nolog           off
notify          off
nounset         off
onecmd          off
physical        off
pipefail        off
posix           off
privileged      off
verbose         off
vi              off
xtrace          off[FONT=arial]

[/FONT]

Is it installed:

zypper se -si bash

I’d have been more than a little surprised if it were not. I’ve been using bash for several decades now.

$ sudo zypper se -si bash
Loading repository data...
Reading installed packages...

S  | Name                         | Type    | Version                                         | Arch   | Repository
---+------------------------------+---------+-------------------------------------------------+--------+-----------------------
i+ | ModemManager-bash-completion | package | 1.12.6-lp152.1.3                                | x86_64 | Main Repository
i+ | bash                         | package | 4.4-lp152.12.3.1                                | x86_64 | Main Update Repository
i+ | bash-completion              | package | 2.7-lp152.6.3.1                                 | noarch | Main Update Repository
i+ | bash-completion-devel        | package | 2.7-lp152.6.3.1                                 | noarch | Main Update Repository
i+ | bash-completion-doc          | package | 2.7-lp152.6.3.1                                 | noarch | Main Update Repository
i+ | bash-devel                   | package | 4.4-lp152.12.3.1                                | x86_64 | Main Update Repository
i+ | bash-doc                     | package | 4.4-lp152.12.3.1                                | noarch | Main Update Repository
i+ | bash-lang                    | package | 4.4-lp152.12.3.1                                | noarch | Main Update Repository
i+ | bash-loadables               | package | 4.4-lp152.12.3.1                                | x86_64 | Main Update Repository
i  | libvirt-bash-completion      | package | 6.0.0-lp152.9.12.1                              | noarch | Main Update Repository
i+ | mbimcli-bash-completion      | package | 1.20.2-lp152.1.4                                | x86_64 | Main Repository
i+ | mpv-bash-completion          | package | 0.32.0+git.20200525T015437.b83bdd1d17-lp152.1.1 | noarch | Main Repository
i+ | pulseaudio-bash-completion   | package | 13.0-lp152.3.3.1                                | x86_64 | Main Update Repository
i+ | subversion-bash-completion   | package | 1.10.6-lp152.2.12.3                             | noarch | Main Update Repository
i+ | systemd-bash-completion      | package | 234-lp152.31.34.1                               | noarch | Main Update Repository
i+ | youtube-dl-bash-completion   | package | 2021.04.01-lp152.2.6.1                          | noarch | Main Update Repository
# zypper se -si complet
Loading repository data...
Reading installed packages...

S  | Name                       | Type    | Version                | Arch   | Repository
---+----------------------------+---------+------------------------+--------+-----------
i  | bash-completion            | package | 2.7-lp152.5.3          | noarch | OSS
i  | bash-completion-devel      | package | 2.7-lp152.5.3          | noarch | OSS
i  | bash-completion-doc        | package | 2.7-lp152.5.2          | noarch | OSS
i  | systemd-bash-completion    | package | 234-lp152.31.34.1      | noarch | Update
i+ | youtube-dl-bash-completion | package | 2021.04.01-lp152.2.6.1 | noarch | Update

No changes noted here lately.

Try a pristine user. If that is broken too reinstall.

Suggestion for what? You do not even explain what the problem is.

Only in a GUI Terminal or, also in a VT (tty1 … tty6)?
If, only in a GUI Terminal, which GUI?

If this helps:
In my openSUSE 15.2 (updated last thuesday) > KDE > Konsole bash command and file completion work as expected by me.

I stumble fingered something or another that removed execute permissions from all my commands in ~/bin. It seems bash won’t complete on stuff it can’t execute. :frowning: Sorry for the bother and thank you all. :slight_smile:

Bash completion is a feature that allows users to type their commands faster and more easily. When users click the tab key while inputting a command, it displays a list of available possibilities. If you are an interesting to check out page https://technoburst.com/.

Welcome to UNIX® – the CLI commands were designed by human beings who are among the most intelligent people on this planet …

  • Possibly one of the reasons why, the UNIX® CLI commands are so powerful when compared to the alternatives available on the GUIs – including that thing produced by the Redmond folks …

Yeah, I’m new here. I’ve only been using the CLI since 1975 or so. Sadly, the CLI is also used by a human being subject to stumbling his fingers and not remembering everything. Hopefully, I’ll remember of this this command completion failure next time. :smiley:

Yes, Yes – the learning curve for a UNIX® CLI is steep – and, it calls for memory and recall that is not “normal” for many human beings …

  • But, (also in my case :shame: ) after more than a few years of almost daily practise it usually settles into the grey cells and, becomes instinctive …