When konsole in kde plasma, freebsd 13-0 release, starts, it starts with this error:
I search for the file, found it, even tried changing permissions
This is what I find in the file
Please tell me what to do to fix the bash_completion error.
Thank you.
Code:
bash: /usr/local/share/bash-completion/bash-completion.sh: No such file or directory
I search for the file, found it, even tried changing permissions
/usr/local/share/bash-completion]$ ls -l
Code:
total 66
-rw-r--r-- 1 root wheel 76342 May 3 23:48 bash_completion
-rwxr--r-x 1 root wheel 738 May 3 23:48 bash_completion.sh
drwxr-xr-x 2 root wheel 766 May 10 01:23 completions
drwxr-xr-x 2 root wheel 5 May 4 00:44 helpers
This is what I find in the file
Code:
GNU nano 6.2 bash_completion.sh
# shellcheck shell=sh disable=SC1091,SC2039,SC2166
# Check for interactive bash and that we haven't already been sourced.
if [ "x${BASH_VERSION-}" != x -a "x${PS1-}" != x -a "x${BASH_COMPLETION_VERSINFO-}" = x ]; then
# Check for recent enough version of bash.
if [ "${BASH_VERSINFO[0]}" -gt 4 ] ||
[ "${BASH_VERSINFO[0]}" -eq 4 -a "${BASH_VERSINFO[1]}" -ge 2 ]; then
[ -r "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion" ] &&
. "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion"
if shopt -q progcomp && [ -r /usr/local/share/bash-completion/bash_completion ]; then
# Source completion code.
. /usr/local/share/bash-completion/bash_completion
fi
fi
fi
$ bash -x
Code:
+ [[ -n [\u@\h \w]\$ ]]
+ [[ -f /usr/local/share/bash-completion/bash-completion.sh ]]
+ source /usr/local/share/bash-completion/bash-completion.sh
bash: /usr/local/share/bash-completion/bash-completion.sh: No such file or directory
++ tty
+ export GPG_TTY=/dev/pts/1
+ GPG_TTY=/dev/pts/1
Please tell me what to do to fix the bash_completion error.
Thank you.