From 49da4d1ba75e877148b4317742ef92fc43d01933 Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Mon, 27 Jun 2022 21:10:04 +0800 Subject: [PATCH] bash: completion: also try /usr/local --- .bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index ba896f0..0f6fbe1 100644 --- a/.bashrc +++ b/.bashrc @@ -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 -- 2.45.2