Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable or unset specific bash completion

I invoked

complete -o default -F _foo foo

To enable bash auto-complete for the command foo. Now I want this to go away, while retaining any other completions that bash may know. How do I do this? I want a

complete --remove foo
like image 351
dgorur Avatar asked May 04 '17 23:05

dgorur


1 Answers

help complete will tell you:

-r  remove a completion specification for each NAME, or, if no
    NAMEs are supplied, all completion specifications
like image 168
miken32 Avatar answered Oct 26 '22 20:10

miken32