扫码关注官方订阅号
ringa_lee
拿CentOS举个例子, 这里Shell用的Bash, 自动补全功能脚本存放在/etc/bash_completion.d/目录下
/etc/bash_completion.d/
# ls -al /etc/bash_completion.d/ total 136 drwxr-xr-x. 2 root root 4096 Jul 21 2015 . drwxr-xr-x. 78 root root 4096 Mar 14 15:31 .. -rw-r--r--. 1 root root 2379 Nov 11 2010 bzr -rwxr-xr-x 1 root root 935 Oct 16 2014 gdbus-bash-completion.sh -rw-r--r--. 1 root root 45281 Mar 5 2013 git -rw-r--r--. 1 root root 11481 Aug 23 2010 mercurial.sh -rw-r--r-- 1 root root 39423 May 26 2009 subversion -rw-r--r--. 1 root root 8031 Jun 22 2012 yum-utils.bash -rw-r--r--. 1 root root 10082 Dec 17 2013 yum.bash
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
拿CentOS举个例子, 这里Shell用的Bash, 自动补全功能脚本存放在
/etc/bash_completion.d/目录下