bash-completion 命令补全
最后更新于:2022-04-02 03:50:39
[TOC]
## 概述
此命令用于对参数进行自动补全,如 `git cl` 补全为`git clone`
## 安装
```
// centos
> yum -y install bash-completion
> source /etc/profile.d/bash_completion.sh
// ubuntu
> sudo apt-get install -y bash-completion
// 找到bash_completion,进行配置
// [ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
```
';