~xdavidwu/dotfiles

49da4d1ba75e877148b4317742ef92fc43d01933 — xdavidwu 2 years ago 06a0bbd
bash: completion: also try /usr/local
1 files changed, 2 insertions(+), 0 deletions(-)

M .bashrc
M .bashrc => .bashrc +2 -0
@@ 201,6 201,8 @@ alias ssh="env TERM=$PTERM ssh"
if ! type _completion_loader >/dev/null 2>&1; then
	if [ -f /usr/share/bash-completion/bash_completion ]; then
		. /usr/share/bash-completion/bash_completion
	elif [ -f /usr/local/share/bash-completion/bash_completion ]; then
		. /usr/local/share/bash-completion/bash_completion
	elif [ -f /data/data/com.termux/files/usr/share/bash-completion/bash_completion ]; then
		. /data/data/com.termux/files/usr/share/bash-completion/bash_completion
	fi