From 9e41ce623a5c4b6d426fd75fed338d02736e03d3 Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 23 Dec 2025 11:26:33 +0100 Subject: bash: Explicitly source completions Some distributions do not do this. --- .bashrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.bashrc b/.bashrc index 8c87e8f..b6fbee6 100644 --- a/.bashrc +++ b/.bashrc @@ -8,6 +8,12 @@ . "${HOME}/.config/posix-shell/programs.sh" . "${HOME}/.config/posix-shell/utils.sh" +completions='/usr/share/bash-completion/bash_completion' +if test -r "$completions" +then + . "$completions" +fi + parse_git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' } -- cgit v1.2.3-70-g09d2