shell apt install 按tab键自动补全

insert

if [ -f /etc/bash_completion ]; then
  . /etc/bash_completion
fi

to ~/.bashrc

原文地址:https://www.cnblogs.com/oxspirt/p/7754613.html