Load bash_completion.sh

This commit is contained in:
Anthony Rose 2022-11-21 11:23:29 +00:00
parent be43b02e78
commit 298edfff72

View file

@ -87,6 +87,11 @@ then
PS1="\[\033[01m\]${_acp_ps1_prefix}\u@\h\\$\[\033[00m\] " PS1="\[\033[01m\]${_acp_ps1_prefix}\u@\h\\$\[\033[00m\] "
unset _acp_ps1_prefix unset _acp_ps1_prefix
if [ -r /etc/profile.d/bash_completion.sh ]
then
. /etc/profile.d/bash_completion.sh
fi
elif [ -n "$ZSH_VERSION" ] elif [ -n "$ZSH_VERSION" ]
then then
autoload -Uz compinit && compinit autoload -Uz compinit && compinit