要加入sudo和man的tab自动补全功能,只需在~/.bashrc中加入:
#Enabling tab-completion
complete -cf sudo
complete -cf man
要加入sudo和man的tab自动补全功能,只需在~/.bashrc中加入:
#Enabling tab-completion
complete -cf sudo
complete -cf man
转载于:https://www.cnblogs.com/little-ant/p/4155865.html