xavier a92c1c340f fix(bashrc): Stop manually re-sourcing system bash completion
The removed loop tried to source /etc/bash*completion and
/etc/profile.d/bash*completion* by hand, with two real problems:
nullglob wasn't enabled for it (unlike everywhere else via
_source_dir_files), so an empty match sourced the literal glob
pattern and errored — the TODO already flagged this. It also
re-sourced /etc/profile.d/bash_completion.sh, a script meant for
/etc/profile on login shells, not for being re-run from an
interactive-only ~/.bashrc.

On a properly packaged system, bash-completion wires itself up
already (confirmed here via /etc/profile.d/bash_completion.sh and
progcomp being on by default) — this loop was dead weight at best and
a source of environment-dependent breakage at worst (seen previously
on Termux, where /etc doesn't have the same layout).
2026-08-22 02:03:17 +02:00
2013-04-24 16:58:31 +02:00
2013-04-17 16:18:40 -07:00

config-bash

My configuration for the bash shell

S
Description
Ma configuration personnelle pour bash
Readme
316 KiB
Languages
Shell 100%